sql: add user_id column to system.role_options table #85845
sql: add user_id column to system.role_options table #85845craig[bot] merged 2 commits intocockroachdb:masterfrom
Conversation
b73df3f to
3c383c1
Compare
3c383c1 to
d7a23b0
Compare
fa1464c to
df6cc1f
Compare
|
This PR borrows a lot from #81457 - the PR to add the user_id column to system.users but should be slightly more straightforward since we no longer have to generate IDs, they should exist in |
2b46c74 to
e635a2a
Compare
ajwerner
left a comment
There was a problem hiding this comment.
Reviewed 4 of 4 files at r1, 30 of 57 files at r2, 1 of 2 files at r3, all commit messages.
Reviewable status:complete! 1 of 0 LGTMs obtained (waiting on @ajwerner, @rafiss, @RichardJCai, and @stevendanna)
pkg/bench/rttanalysis/testdata/benchmark_expectations line 32 at r3 (raw file):
14,CreateRole/create_role_with_1_option 17,CreateRole/create_role_with_2_options 20,CreateRole/create_role_with_3_options
how come these are going up?
Code quote:
14,CreateRole/create_role_with_1_option
17,CreateRole/create_role_with_2_options
20,CreateRole/create_role_with_3_options
15,CreateRole/create_role_with_no_options
Additional round trip from looking up user_id from username, I'm gonna add caching for this. |
e8d360f to
3e0edf3
Compare
|
Thanks for reviewing! bors r=ajwerner |
3e0edf3 to
b2d631b
Compare
|
Canceled. |
b2d631b to
5f9429d
Compare
|
Trying again |
Release note: None
The system.role_options user_id column is populated after the system.users user_id column is populated in the case of the migration. Release note: None
5f9429d to
d0ed951
Compare
|
Canceled. |
|
bors r=ajwerner |
|
Build failed (retrying...): |
|
Build succeeded: |
The system.role_options user_id column is populated after
the system.users user_id column is populated in the case of the
migration.
Release note: None