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 638f94f commit cce319eCopy full SHA for cce319e
google-cloud-spanner/src/main/java/com/google/cloud/spanner/TransactionRunnerImpl.java
@@ -331,8 +331,11 @@ private void createTxnAsync(
331
&& session.getIsMultiplexed()
332
&& mutation != null) {
333
// Begin transaction can return ABORTED errors. This can only happen if it included
334
- // a mutation key, which again means that this is a mutation-only transaction on a multiplexed
335
- // session.
+ // a mutation key, which again means that this is a mutation-only transaction on a
+ // multiplexed session.
336
+ span.addAnnotation(
337
+ "Transaction Creation Failed with ABORT. Retrying",
338
+ e.getCause() == null ? e : e.getCause());
339
createTxnAsync(res, mutation);
340
return;
341
}
0 commit comments