Hi,


We have doubt about xdmp:lock-acquire API



In my case I have multiple threads running in multiple servers and making
xcc connection to ML and executing the adhoc query “xdmp:lock-acquire” to
lock one particular file.



And each thread uses different userid/pwd for making xcc connections.



But at times we find ML giving empty sequence(which means successfully
locked), when two Threads make xcc connection in milliseconds difference
with respective userid/pwd to acquire lock.



Is xdmp:lock-acquire lock synchronized or is there any way to synchronize
it in ML.


Thanks,

Prasanth
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to