googleapis/dotnet-spanner-entity-framework

Retry Transaction Outcome Unknown errors

olavloite opened this issue · 1 comments

Cloud Spanner can return the error Transaction Outcome Unknown if a transaction fails with an unknown transient reason. It is safe to retry the entire transaction when this error is returned, even though the error message indicates that the outcome is inconclusive. The specific error should therefore be added to the conditions for retrying a transaction. Currently, only Aborted errors cause an entire transaction to be retried.

After an internal discussion, it has been decided that these errors cannot safely be automatically retried.