optimistic locking very frequently in grails 2.5.4 with mongo db
controller -> service we are manipulating the domain object in a service . For single user it is working fine. for multiple user, it throws optimistic locking exception. Even after synchronizing the access of shared object between threads,getting Optimistic Locking very frequently.