Initial interface for transaction manager for manually managing retries of a transaction#2776
Initial interface for transaction manager for manually managing retries of a transaction#2776vkedia merged 26 commits intogoogleapis:masterfrom
Conversation
| */ | ||
| TransactionRunner readWriteTransaction(); | ||
|
|
||
| TransactionManager transactionManager(); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| * Creates a new transaction for retry. This should only be called if the previous transaction | ||
| * failed with {@code ABORTED}. In all other cases, this will throw a {@link SpannerException}. | ||
| */ | ||
| TransactionContext resetForRetry(); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| TransactionContext resetForRetry(); | ||
|
|
||
| /** | ||
| * Returns the commit timestamp if the transaction committed successfully. |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
@snehashah16 @pongad @hzyi-google Please review this. |
|
I'm not familiar enough with Spanner to properly review this, but as far as my feeble powers go, LGTM |
|
Thanks. I have added @snehashah16 from my team to do a thorough review. |
|
@snehashah16 thanks for the quick review. |
#1810
cc @tomayles