-
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: add user_id column to system.role_options table #85845
sql: add user_id column to system.role_options table #85845
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
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 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