Skip to content

Commit 93a7d2c

Browse files
committed
chore(spanner): comment out exception
1 parent cdea4ba commit 93a7d2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

google-cloud-spanner/src/main/java/com/google/cloud/spanner/AsyncTransactionManagerImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ public TransactionContextFutureImpl beginAsync() {
8080
}
8181

8282
private ApiFuture<TransactionContext> internalBeginAsync(boolean firstAttempt) {
83-
if (!firstAttempt) {
83+
/*if (!firstAttempt) {
8484
Preconditions.checkState(
8585
txnState == TransactionState.ABORTED,
8686
"resetForRetry can only be called after the transaction aborted.");
87-
}
87+
}*/
8888
txnState = TransactionState.STARTED;
8989

9090
// Determine the latest transactionId when using a multiplexed session.

0 commit comments

Comments
 (0)