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
This adds `transaction::commit_with_retries` function where
the number of attempts can be specified. The default behavior for
`transaction::commit` remains 15.
Closesdelta-io#1595.
cmackenzie1
changed the title
Configurable number of retries and backoff for transaction commit loop
Configurable number of retries for transaction commit loop
Aug 21, 2023
This adds `transaction::commit_with_retries` function where
the number of attempts can be specified. The default behavior for
`transaction::commit` remains 15.
Closes#1595.
Description
Use Case
During testing, we found that as we scale out writers up, the # of conflicts can exceed the 15 attempts. This value should be configurable.
https://github.com/delta-io/delta-rs/blob/main/rust/src/operations/transaction/mod.rs#L167
Additionally, allow a small random backoff in retries to increase the fairness amongst writersRelated Issue(s)
The text was updated successfully, but these errors were encountered: