Page MenuHomePhabricator

Update table schema for "AffectedPath" table
ClosedPublic

Authored by epriestley on Mar 15 2021, 10:37 PM.
Tags
None
Referenced Files
F13326556: D21617.diff
Sat, Jun 15, 7:36 AM
F13318088: D21617.diff
Thu, Jun 13, 10:13 AM
F13314436: D21617.diff
Tue, Jun 11, 8:05 PM
F13303667: D21617.diff
Sat, Jun 8, 7:04 AM
F13290457: D21617.diff
Tue, Jun 4, 6:14 PM
F13278063: D21617.diff
Fri, May 31, 6:27 PM
F13262090: D21617.diff
Mon, May 27, 1:46 AM
F13191920: D21617.diff
May 12 2024, 2:32 AM
Subscribers
Restricted Owners Package

Details

Summary

Ref T13639. Make schema changes:

  • Make repositoryID nullable, for revisions with no repository.
  • Remove "epoch", which has no readers and no clear use.
  • Change the ordering of the key, since "pathID" has more unique values and no queries ever issue without it.
Test Plan
  • Ran bin/storage upgrade, got a clean schema.
  • Reindexed all revisions with an external script.
  • Reviewed index via debug UI, saw appropriate index for non-repositoy revisions.

Diff Detail

Repository
rP Phabricator
Branch
recent6
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 25261
Build 34868: Run Core Tests
Build 34867: arc lint + arc unit

Event Timeline

Owners added a subscriber: Restricted Owners Package.Mar 15 2021, 10:37 PM
This revision was not accepted when it landed; it landed in state Needs Review.Mar 15 2021, 11:16 PM
This revision was automatically updated to reflect the committed changes.