kv: replace SystemSpanConfig with SystemDescriptorTableSpan / SystemZonesTableSpan#82281
Conversation
1f66c22 to
c32e1b6
Compare
4fc94b2 to
c679e7b
Compare
|
Is this the right idea? @ajwerner @irfansharif |
c679e7b to
921b11c
Compare
pkg/server/systemconfigwatcher/systemconfigwatchertest/test_system_config_watcher.go
Outdated
Show resolved
Hide resolved
irfansharif
left a comment
There was a problem hiding this comment.
I need to take a closer look at the spanconfigcompared testdata files. Honestly, that package existed to compare the span configs infra against the old thing, the old thing we've now gotten rid of. I'd be happy nuking that entire test package. Wanna do the honours?
pkg/server/systemconfigwatcher/systemconfigwatchertest/test_system_config_watcher.go
Outdated
Show resolved
Hide resolved
pkg/sql/logictest/testdata/logic_test/create_index_on_system_table
Outdated
Show resolved
Hide resolved
I'm not convinced we're ready for that. Recall that the optimizer and the replication reports still derive their expectations of what the span configs will be from the pre-existing logic. |
|
Also anyone have an idea on why |
921b11c to
99b49ba
Compare
d2955df to
0f5f4b1
Compare
|
cockroach/pkg/sql/catalog/bootstrap/metadata.go Lines 184 to 186 in 90054c6 Should we get rid of this condition? It's the reason for the bazel flake, and, I suspect, the need for one of your succeeds soon |
89c1071 to
2ed1967
Compare
72030da to
8eab857
Compare
…onesTableSpan SystemSpanConfig does not have to contain all tables with id <= 10. It has been replaced with SystemDescriptorTableSpan and SystemZonesTableSpan. These two tables are the only system tables that are unsplittable. We cannot get rid of the concept entirely due to SystemSpanConfig components being relied on for replication reports and opt catalog. Release note: None
dad0528 to
7295cce
Compare
Release note: None
7295cce to
b86fd4f
Compare
|
Alright I think I addressed everything, thanks for the reviews! bors r+ |
|
Build failed (retrying...): |
|
Build failed (retrying...): |
|
bors r+ |
|
Already running a review |
|
Build failed: |
|
bors r+ |
|
Build failed (retrying...): |
|
Build succeeded: |
SystemSpanConfig does not have to contain all tables with id <= 10.
It has been replaced with SystemDescriptorTableSpan and SystemZonesTableSpan.
These two tables are the only system tables that are unsplittable.
We cannot get rid of the concept entirely due to SystemSpanConfig components
being relied on for replication reports and opt catalog.
Release note: None
fixes #82178