Upgrade issue : Transaction numbers are only allowed on storage engines that support document-level locking
See original GitHub issuebug?*
What is the current behavior?
After installing this morning the new version 5.7.0 (from 5.6.13) i’m now getting the following error on a until now perfectly working system
Transaction numbers are only allowed on storage engines that support document-level locking
must be linked to use MongoDB driver 3.3.x for MongoDB 4.2 support #8083 #8078
has this upgrade of the driver been tested ?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:7
Top Results From Across the Web
Transaction numbers are only allowed on storage engines ...
MongoError : Transaction numbers are only allowed on storage engines that support document-level locking #5983.
Read more >how to solve this transaction error in mlab? [MongoError
I'm using Ruby/Rails with MongoID, and I was having the same issue (Transaction numbers are only allowed on storage engines that support ......
Read more >[solved] Meteor 1.9.3+ and mongo document-level locking
After upgrading from 1.9 to 1.10.1, whenever I use the login, logout, or createUser methods, I get the following error:
Read more >Retryable Writes — MongoDB Manual
Supported Storage Engine : Retryable writes require a storage engine supporting document-level locking, such as the WiredTiger or in-memory storage engines.
Read more >MongoDB Transaction Management - Clairvoyant Blog
MongoDB uses optimistic updates for document-level concurrency and ... MongoDB uses WiredTiger Storage Engine to handle such issues.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yep - 3.7.x upgrades the the driver and turns on retryWrites automatically. Add ?retryWrites=false to end of connection string and you are square.
Ticket can be closed i think?
@LukeXF their response was to just disable
retryWrites
in the connection string. The rationale is that this change is to aid users of Atlas, which doesn’t support mmapv1.