@Pavel_Duchovny what will happen when service1 & service2 fired up the findAndModify at the same time?
Will below process happen?
- service1 acquires the lock on the document
- service2 waits for the lock
- service1 updates and releases the lock
- service 2 acquires the lock.
- service2 is able to view the document updated by service1
does this happen? or something else?