How long should I wait to retry failed transaction/mutation?

The timestamps in Dgraph are ordered numbers based on actions, not literal ‘time’ like measured in seconds. So if a transaction was aborted you can retry it ‘immediately’ as you will be issued a timestamp (number) greater than the last number that was issued. A different cause may abort the next transaction of course.

2 Likes