I am trying to update a document using two parallel multi-document transactions and I get the following error:
MongoError: WriteConflict error: this operation conflicted with another operation. Please retry your operation or multi-document transaction.
How can I fix this?