I'm trying to implement a Pessimistic lock on my Spring Boot application running with a MongoDB instance.
The problem:
User A, select the Document ID 123 User A, update the Document, append one field and Save it User B, select the Document ID 123 and need to wait User A finish the Save.
Is it possible do with MongoDB?!