Hi Joe,
Is there any way I can specify exactly what should be locked when going into an expression? Or better yet have basex lock nothing?
Unfortunately, the locking algorithms cannot be completely disabled, but we could think about providing such a mode. XQuery Locking Options [1] could then be used to manually control all lock operations. I’ll have some discussions about that with Jens.
From the documentation I thought that is what GLOBALLOCK would do, but it seems like even with that set to false it locks everything.
The documentation was a bit updated; I’ve updated the corresponding paragraph.
I'm worried having everything lock for every updating query is going to be a real performance bottleneck
Have you already tested if this is a real bottleneck?
Best, Christian
[1] http://docs.basex.org/wiki/Transaction_Management#XQuery_Locking_Options