-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
catkv,*: remove catkv.Direct interface #93611
Conversation
2fc77bc
to
b0b3438
Compare
b0b3438
to
9d1bb9e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 5 of 5 files at r1, 5 of 5 files at r2, 2 of 2 files at r3, 12 of 12 files at r4, 2 of 2 files at r5, 1 of 1 files at r6, 31 of 31 files at r7, 6 of 6 files at r8, all commit messages.
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @postamar)
Thanks for the review! CI is unhappy due to an unrelated flaky test. bors r+ |
Merge conflict. |
9d1bb9e
to
df57e9a
Compare
bors r+ |
Build failed: |
This commit replaces it with the GetAllFromStorageUnvalidated method on descs.Collection Release note: None
This commit transfers the ownership of the node's catkv.SystemDatabaseCache singleton from the descs.CollectionFactory to the lease.Manager. It also replaces catkv.Direct usage in the lease package by catkv.CatalogReader calls. Release note: None
This commit removes the MaybeGetDescriptorByIDUnvalidated method from the catkv.Direct interface. Release note: None
These methods are replaced by new functions in the descs package which operate on the descs.Collection. Release note: None
This commit removes dead code. Release note: None
Release note: None
This can now be replaced by calls to descs.Collection methods. Informs cockroachdb#64089. Release note: None
This removes the last usage of uncached catkv.CatalogReader outside of testing. Release note: None
This commit fixes a bug in which persisted catalog changes were not visible in the results of this descs.Collection's method when the transation already involved a full catalog scan before those changes. Release note: None
df57e9a
to
f62d2aa
Compare
The flake wasn't unrelated and in fact the workload test found a legit bug! I'm grateful for it. |
bors r+ |
Build failed: |
This time it really is an unrelated flake. bors r+ |
Build succeeded: |
Informs #64089.
Release note: None