You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cloud Spanner can abort any read/write transaction.
PGAdapter will by default try to retry any aborted read/write transaction, unless spanner.retry_aborts_internally=false.
Retrying a read/write transaction makes it seem like a single statement in that transaction took a very long time. This shows up as a large outlier when measured from outside PGAdapter, and often causes confusion during benchmarking.
Possible ways to reduce this problem is to:
Turn off internal transaction retries (i.e. execute set spanner.retry_aborts_internally=false). This will cause the transaction to fail instead of being retried.
spanner.retry_aborts_internally=false
.Possible ways to reduce this problem is to:
set spanner.retry_aborts_internally=false
). This will cause the transaction to fail instead of being retried.This is a request to add support for point 3 above.
The text was updated successfully, but these errors were encountered: