-
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
pkg/ccl/logictestccl/tests/3node-tenant/3node-tenant_test: TestTenantLogic_partial_index failed [TransactionRetryWithProtoRefreshError on index creation] #126763
Comments
pkg/ccl/logictestccl/tests/3node-tenant/3node-tenant_test.TestTenantLogic_partial_index failed with artifacts on master @ 485975b3a824c68c07340e6a336c7864c00d3c6d:
|
pkg/ccl/logictestccl/tests/3node-tenant/3node-tenant_test.TestTenantLogic_partial_index failed with artifacts on master @ 485975b3a824c68c07340e6a336c7864c00d3c6d:
|
I think the first time we saw this was in #125354 about a month ago, and it appears that we hit a txn retry when committing an explicit txn within which we create a secondary index. Re-assigning it to Foundations for further triage. |
The statement that fails within the
I'm struggling to reproduce this failure even though the test seems to routinely fail on CI. The same statement runs fine on SQL shell. I tried running it under |
Let's try breaking up the statement into multiple transactions. Using a larger transaction with multiple schema changes makes it more likely for txn retry errors to occur. |
We have marked this test failure issue as stale because it has been |
This is still happening: #132866 |
pkg/ccl/logictestccl/tests/3node-tenant/3node-tenant_test.TestTenantLogic_partial_index failed with artifacts on master @ b13f76063a555af796f5df7243ecdd894ff0ff51:
|
cockroach/pkg/keys/constants.go Line 411 in 71f7b2a
There probably is increased contention on this key since logic tests use a transactional descriptor ID generator: cockroach/pkg/sql/logictest/logic.go Line 1482 in 4ef3e64
Perhaps using a high priority txn here could help avoid the transaction being aborted. |
Based on the specified backports for linked PR #133400, I applied the following new label(s) to this issue: branch-release-24.1, branch-release-24.2, branch-release-24.3. Please adjust the labels as needed to match the branches actually affected by this issue, including adding any known older branches. 🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf. |
pkg/ccl/logictestccl/tests/3node-tenant/3node-tenant_test.TestTenantLogic_partial_index failed with artifacts on master @ 295d09a88895a69e5cc9149fb8165acf78e39e61:
Help
See also: How To Investigate a Go Test Failure (internal)
This test on roachdash | Improve this report!
Jira issue: CRDB-40112
The text was updated successfully, but these errors were encountered: