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
If the entity has client-generated key or concurrency token we could generate idempotent commands to make commit failure handling easier.
For updates without concurrency tokens we can use one of the changed values.
The text was updated successfully, but these errors were encountered:
This is about dealing with transient failures during transaction commit. Retrying the operation again could result in an exception if it did succeed. Arguably the worst case is when inserting rows with store-generated keys as then the operation can be executed twice causing data corruption.
But even in that case we can leverage the values generated during the last attempt and use them in a condition when retrying, so that the operation will be noop if the last attempt succeeded.
To clarify for myself: this is about a transient failure during the transaction commit itself, so we have no idea whether the transaction committed or not.
If the entity has client-generated key or concurrency token we could generate idempotent commands to make commit failure handling easier.
For updates without concurrency tokens we can use one of the changed values.
The text was updated successfully, but these errors were encountered: