-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
⚡ mongo: disables using the mongo transactional api.
If attempting to use the transactions api mongo <4.0 mongo returns a BSON serialization error. For now, since sessions now work properly, default to creating and using a unique session. Sessions in the mongo driver default to casual consistency, which should provide the required atomicity. Refer: https://jira.mongodb.org/projects/GODRIVER/issues/GODRIVER-1732
- Loading branch information
1 parent
e415e71
commit b03b61d
Showing
1 changed file
with
32 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters