-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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: retry errors report the wrong key if the table was created in the same txn #14282
Comments
@knz, assigning to you now for reassignment. We should figure out if this will be a problem, and if not, punt the investigation for 1.1. Currently setting as 1.0 for now though so that it doesn't fall through the cracks. |
@andreimatei do you know who is best placed to look at this? |
I think any of us are as good as any other... I've removed the milestone; it doesn't worry me too much :). |
assigning to myself because I'm making major changes in this area. |
Here, which is called from various points in the sql layer related to schema changes. Since #16701, this key is printed as
I don't think so. @andreimatei and @vivekmenezes is there anything you want to do here or can we close this issue? |
Yeah, txns that perform schema changes are anchored in the "system config span" so that they trigger gossip. |
Found while investigating #14264
The txn there does
begin; create database; create table; insert; commit
and fails with:(note the bogus
/Table/0/0
key in the msg)Whereas if the
create database; create table;
are performed beforebegin
(prior to the start of the txn) the same retry error is reported as:(i.e. with a valid key)
The question is 1) where is the bogus key name coming from 2) is that a problem?
cc @vivekmenezes @dt @danhhz
The text was updated successfully, but these errors were encountered: