-
Notifications
You must be signed in to change notification settings - Fork 2
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
crdbutil: fix user table scan query #1
Conversation
9622526
to
a0dfaa2
Compare
SHOW USERS was implemented as a view on top of |
a0dfaa2
to
781454c
Compare
Nice, done. |
Informs recent failures on #44066, #43284, #45645, #43273, #43839, #41528. cockroachdb/cockroach#45827 broke the query to retrieve users from the database, it was previously expecting one column, and needs to be updated to accept three. We now use `SELECT username FROM system.users` instead.
781454c
to
7e1e38b
Compare
Informs recent failures on cockroachdb/cockroach#44066, cockroachdb/cockroach#43284, cockroachdb/cockroach#45645, cockroachdb/cockroach#43273, cockroachdb/cockroach#43839, cockroachdb/cockroach#41528.
cockroachdb/cockroach#45827 broke the query to
retrieve users from the database, it was previously expecting one column,
and needs to be updated to accept three.
Previous to #45827 the column name was
user_name
(it's notusername
), so the binary built off LATEST is not suitable forroachtests run on v19.2 and below. I'm not sure how to construct a query
that would work across the two versions, we'll add a patch to previous
release branches to use a fixed SHA from this repo.