I am doing a transaction in a MongoDb database and when inserting or deleting I get the following exception:
Command insert failed: Transaction has been aborted
. However I am not aborting the transaction deliberately. I tried reducing the commands sent to the database to a minimum but the exception still happens.