arangodb / arangojs

The official ArangoDB JavaScript driver.
https://arangodb.github.io/arangojs
Apache License 2.0
601 stars 107 forks source link

Add retryOnConflict option to db.query #763

Closed pluma closed 2 years ago

pluma commented 2 years ago

It would be helpful to be able to retry a query on write-write conflicts (arango error 1200). While we absolutely do not want this to be the default for obvious reasons, it would be a useful opt-in option.

pluma commented 2 years ago

/cc @jsteemann FYI