-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
status: waiting-for-triageAn issue we've not yet triagedAn issue we've not yet triaged
Description
There is an IMPORTANT section
Optimistic Locking requires to set the WriteConcern to ACKNOWLEDGED. Otherwise OptimisticLockingFailureException can be silently swallowed.
When I read this sentence, with great effort I configured WriteConcern = ACKNOWLEDGED in my applications to enjoy Optimistic Locking.
I had to learn a bit more about Mongo to realize it was completely useless, because Mongo Servers default write concern is w:majority or w:1 what are different flavours of ACKNOWLEDGED
Maybe it is worth to mention about write concern. But this frame suggests is is very important to set write concern, when in reality is not true
Metadata
Metadata
Assignees
Labels
status: waiting-for-triageAn issue we've not yet triagedAn issue we've not yet triaged