Open JoshuaSBrown opened 2 years ago
FYI, this is to handle write-write conflicts in the DB. Arango does not handle concurrent writes, so throws an error for the application to deal with. In this case we use a progressive back-off timer until it works or we give up. There probably should be a clean wrapper function for handling write conflicts in general - and if they ultimately fail - there should be a notification / handler for that b/c the system is probably in an invalid state at that point.
Thanks for the clarification.
Weird retry block in code in task.js lines around 1100.