-
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
kvclient: v20.2.2: transaction unexpectedly committed #57552
Comments
There is some history behind this assertion. It was added in #47997, removed in #48227, and then re-added in #48297. It doesn't look like we got the assertion quite right, as people have hit it a few times on v20.2.x. The unfortunate part about this is that both the error and the batch request are too redacted to meaningfully understand. @andreimatei do you have thoughts about what we can do here? Should we are least improve the redaction so we'll have a better idea of what's going wrong next time we see this? |
Just a ping on this issue that we have seen a few more reports of this issue in the wild. |
Oh man, I don't know what's going on. The assertion says that an error is informing the client that the txn it was operating on is committed. That's not supposed to happen (if the txn committed, who's still operating on it?), except for some edge cases that are explicitly handled. |
We know a little bit about what's in the batch because of the stack traces - they all come from inserts and updates doing |
Closing in favor of #67765 |
This issue was autofiled by Sentry. It represents a crash or reported error on a live cluster with telemetry enabled.
Sentry link: https://sentry.io/organizations/cockroach-labs/issues/2071814981/?referrer=webhooks_plugin
Panic message:
Stacktrace (expand for inline code snippets):
cockroach/pkg/kv/kvclient/kvcoord/txn_coord_sender.go
Lines 822 to 824 in 92d9495
cockroach/pkg/kv/kvclient/kvcoord/txn_coord_sender.go
Lines 795 to 797 in 92d9495
cockroach/pkg/kv/kvclient/kvcoord/txn_coord_sender.go
Lines 501 to 503 in 92d9495
cockroach/pkg/kv/db.go
Lines 743 to 745 in 92d9495
cockroach/pkg/kv/txn.go
Lines 918 to 920 in 92d9495
cockroach/pkg/kv/db.go
Lines 653 to 655 in 92d9495
cockroach/pkg/kv/txn.go
Lines 589 to 591 in 92d9495
cockroach/pkg/kv/txn.go
Lines 651 to 653 in 92d9495
cockroach/pkg/sql/tablewriter.go
Lines 148 to 150 in 92d9495
cockroach/pkg/sql/upsert.go
Lines 123 to 125 in 92d9495
cockroach/pkg/sql/plan_batch.go
Lines 158 to 160 in 92d9495
cockroach/pkg/sql/plan.go
Lines 513 to 515 in 92d9495
cockroach/pkg/sql/walk.go
Lines 118 to 120 in 92d9495
cockroach/pkg/sql/walk.go
Lines 297 to 299 in 92d9495
cockroach/pkg/sql/walk.go
Lines 85 to 87 in 92d9495
cockroach/pkg/sql/walk.go
Lines 49 to 51 in 92d9495
cockroach/pkg/sql/plan.go
Lines 516 to 518 in 92d9495
cockroach/pkg/sql/plan_node_to_row_source.go
Lines 124 to 126 in 92d9495
cockroach/pkg/sql/execinfra/processorsbase.go
Lines 773 to 775 in 92d9495
cockroach/pkg/sql/flowinfra/flow.go
Lines 391 to 393 in 92d9495
cockroach/pkg/sql/distsql_running.go
Lines 421 to 423 in 92d9495
cockroach/pkg/sql/distsql_running.go
Lines 1001 to 1003 in 92d9495
cockroach/pkg/sql/conn_executor_exec.go
Lines 1000 to 1002 in 92d9495
cockroach/pkg/sql/conn_executor_exec.go
Lines 871 to 873 in 92d9495
cockroach/pkg/sql/conn_executor_exec.go
Lines 638 to 640 in 92d9495
cockroach/pkg/sql/conn_executor_exec.go
Lines 113 to 115 in 92d9495
cockroach/pkg/sql/conn_executor_exec.go
Lines 202 to 204 in 92d9495
cockroach/pkg/sql/conn_executor.go
Lines 1532 to 1534 in 92d9495
cockroach/pkg/sql/conn_executor.go
Lines 1534 to 1536 in 92d9495
cockroach/pkg/sql/conn_executor.go
Lines 1390 to 1392 in 92d9495
cockroach/pkg/sql/conn_executor.go
Lines 507 to 509 in 92d9495
cockroach/pkg/sql/pgwire/conn.go
Lines 625 to 627 in 92d9495
v20.2.2
The text was updated successfully, but these errors were encountered: