Closed nickva closed 4 years ago
on_error function automatically resets the transaction object but preserves retry and backoff-related information in the object. Avoid creating a new transaction object which would lose that context in case transactions retry more than 2 times.
on_error
Reference: https://apple.github.io/foundationdb/api-c.html#c.fdb_transaction_on_error
on_error
function automatically resets the transaction object but preserves retry and backoff-related information in the object. Avoid creating a new transaction object which would lose that context in case transactions retry more than 2 times.Reference: https://apple.github.io/foundationdb/api-c.html#c.fdb_transaction_on_error