WiredTiger supports document-level concurrency, so operation will be rejected if another user accesses the same document at the same time. If two users run the operation on the same document at the same time, only one of them is allowed to perform the operation, and the other has a conflict. So why does mongoDB support transaction additionally? What is the role of transaction in mongoDB?
2.1m questions
2.1m answers
60 comments
57.0k users