We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdea4ba commit 93a7d2cCopy full SHA for 93a7d2c
google-cloud-spanner/src/main/java/com/google/cloud/spanner/AsyncTransactionManagerImpl.java
@@ -80,11 +80,11 @@ public TransactionContextFutureImpl beginAsync() {
80
}
81
82
private ApiFuture<TransactionContext> internalBeginAsync(boolean firstAttempt) {
83
- if (!firstAttempt) {
+ /*if (!firstAttempt) {
84
Preconditions.checkState(
85
txnState == TransactionState.ABORTED,
86
"resetForRetry can only be called after the transaction aborted.");
87
- }
+ }*/
88
txnState = TransactionState.STARTED;
89
90
// Determine the latest transactionId when using a multiplexed session.
0 commit comments