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
All transaction-related retries, including creating and rolling back, should utilize exponential backoff.
Actual behavior
A local gax.OnCode call is made inside each try, which ensures that the pause between tries will always be the minimum 20ms specified by txnBackoff (+/- the random jitter), regardless of whether it's the first, second, or nth retry.
Additional context
This was introduced in #10489 (1.1.18) which fixed a bigger bug introduced in #10349 (1.17.1) that actually bit us in production. In Datastore 1.17.1, the retryers were global, and thus eventually, if you had enough retries between transactions, the first retry would eventually be the maximum time. For this reason, I recommend that Google consider retracting version 1.17.1 of the Cloud Datastore Client entirely.
The text was updated successfully, but these errors were encountered:
Client
Cloud Datastore
Environment
All Environments
Expected behavior
All transaction-related retries, including creating and rolling back, should utilize exponential backoff.
Actual behavior
A local
gax.OnCode
call is made inside each try, which ensures that the pause between tries will always be the minimum 20ms specified bytxnBackoff
(+/- the random jitter), regardless of whether it's the first, second, or nth retry.Additional context
This was introduced in #10489 (1.1.18) which fixed a bigger bug introduced in #10349 (1.17.1) that actually bit us in production. In Datastore 1.17.1, the retryers were global, and thus eventually, if you had enough retries between transactions, the first retry would eventually be the maximum time. For this reason, I recommend that Google consider retracting version 1.17.1 of the Cloud Datastore Client entirely.
The text was updated successfully, but these errors were encountered: