Skip to content

Conversation

@olavloite
Copy link
Collaborator

Transactions that are aborted by Spanner and that need to be retried should use the resetForRetry method, instead of creating a new transaction. This gives the retried transaction a higher priority, which again reduces the probability that the transaction will again be aborted by Spanner if it conflicts with another transaction with lower priority.

Transactions that are aborted by Spanner and that need to be retried
should use the resetForRetry method, instead of creating a new transaction.
This gives the retried transaction a higher priority, which again reduces
the probability that the transaction will again be aborted by Spanner if
it conflicts with another transaction with lower priority.
@olavloite olavloite requested a review from a team as a code owner November 14, 2024 17:18
@olavloite olavloite merged commit 1ceb9ee into main Nov 17, 2024
16 checks passed
@olavloite olavloite deleted the reset-for-retry branch November 17, 2024 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants