-
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
circleci: failed tests (13586): TestConcurrentIncrements #4752
Comments
#4576 looks like a likely suspect. @andreimatei can you take a look? |
tamird
added
test-disabled
and removed
C-test-failure
Broken test (automatically or manually discovered).
labels
Mar 2, 2016
andreimatei
added a commit
to andreimatei/cockroach
that referenced
this issue
Mar 3, 2016
The txn needs to not remain in the aborted state if a COMMIT is executed and errors, as there's no way for the client to recover (e.g. in go you can't use a Txn object after doing Txn.Commit()). As before this change, an error is still returned to the client. Keep in mind that statements in the same batch coming after a failed COMMIT are still not executed; that's in line with the principle of not running any statements after an error since we can't return results for them. The change pushes the responsibility of updating txnState down from execStmtsInCurrentTxn() to execStmtInCurrentTxn(). The actual change in behavior comes from setting txnState.aborted = false in the `txnDone` case. Before, the error would take precedence and txnState.aborted would be set to true. Fixes cockroachdb#4752
andreimatei
added a commit
to andreimatei/cockroach
that referenced
this issue
Mar 3, 2016
The txn needs to not remain in the aborted state if a COMMIT is executed and errors, as there's no way for the client to recover (e.g. in go you can't use a Txn object after doing Txn.Commit()). As before this change, an error is still returned to the client. Keep in mind that statements in the same batch coming after a failed COMMIT are still not executed; that's in line with the principle of not running any statements after an error since we can't return results for them. The change pushes the responsibility of updating txnState down from execStmtsInCurrentTxn() to execStmtInCurrentTxn(). The actual change in behavior comes from setting txnState.aborted = false in the `txnDone` case. Before, the error would take precedence and txnState.aborted would be set to true. Fixes cockroachdb#4752
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following test appears to have failed:
#13586:
Please assign, take a look and update the issue accordingly.
The text was updated successfully, but these errors were encountered: