-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
sql: introduce system.settings table #14646
Conversation
Reviewed 7 of 7 files at r1. pkg/migrations/migrations.go, line 61 at r1 (raw file):
nit: "it's" (sorry) pkg/migrations/migrations.go, line 352 at r1 (raw file):
I think pkg/sql/sqlbase/system.go, line 121 at r1 (raw file):
This seems misaligned. Stray tab? pkg/sql/sqlbase/system.go, line 125 at r1 (raw file):
This entire def should be in the previous pkg/sql/sqlbase/system.go, line 177 at r1 (raw file):
👍 I'd move this between pkg/sql/sqlbase/system.go, line 521 at r1 (raw file):
This should also be up in the previous var block. pkg/sql/testdata/logic_test/system, line 149 at r1 (raw file):
Can you add pkg/sql/testdata/logic_test/system, line 231 at r1 (raw file):
and Comments from Reviewable |
Review status: 4 of 7 files reviewed at latest revision, 8 unresolved discussions. pkg/migrations/migrations.go, line 61 at r1 (raw file): Previously, benesch (Nikhil Benesch) wrote…
Done. pkg/migrations/migrations.go, line 352 at r1 (raw file): Previously, benesch (Nikhil Benesch) wrote…
Done. pkg/sql/sqlbase/system.go, line 121 at r1 (raw file): Previously, benesch (Nikhil Benesch) wrote…
Done. pkg/sql/sqlbase/system.go, line 125 at r1 (raw file): Previously, benesch (Nikhil Benesch) wrote…
Done. pkg/sql/sqlbase/system.go, line 177 at r1 (raw file): Previously, benesch (Nikhil Benesch) wrote…
Done. pkg/sql/sqlbase/system.go, line 521 at r1 (raw file): Previously, benesch (Nikhil Benesch) wrote…
Done. pkg/sql/testdata/logic_test/system, line 149 at r1 (raw file): Previously, benesch (Nikhil Benesch) wrote…
Done. pkg/sql/testdata/logic_test/system, line 231 at r1 (raw file): Previously, benesch (Nikhil Benesch) wrote…
Done. Comments from Reviewable |
Nice, that's all of the comments I have! (Though looks like Holding off on the LGTM because I don't know what protocol is for implementations that precede their RFC. Reviewed 3 of 3 files at r2. Comments from Reviewable |
this will be used to store and manage cluster-wide, runtime changable settings. this introduces the new table via a migration -- later work will use it to provide settings accessors for calling code.
Reviewed 1 of 1 files at r3. Comments from Reviewable |
Fixed I'll update the RFC to in-progress and merge it. Review status: all files reviewed at latest revision, all discussions resolved, all commit checks successful. Comments from Reviewable |
lgtm, though sciencedog on the privilege stuff Review status: all files reviewed at latest revision, all discussions resolved, all commit checks successful. Comments from Reviewable |
this will be used to store and manage cluster-wide, runtime changable settings.
this introduces the new table via a migration -- later work will use it to provide
settings accessors for calling code.