this error occurred when i’m trying to insert a doc into one DB and insertMany docs into another DB in a transaction. I think there is no way that two or more threads modify the same doc during insert or insertMany operation, So i don’t know why this happened.
(WriteConflict) WiredTigerIdIndex::_insert: index: _id_; uri: table:index-41--7372155174071311721 :: caused by :: WriteConflict error: this operation conflicted with another operation. Please retry your operation or multi-document transaction
by the way.I have used KMS in my project.is there a chance this issue caused by KMS refresh?