I use BaseX 7.7 build from couple days ago with GLOBALLOCK=false. I run using client-server mode.
I have one long running read-only xQuery (say query1) that needs to be optimized but for now it takes about 3 minutes to run. While query1 is running all other read-only xQueries are queued up (from BaseX server logs) and wait for query1 completion. After query1 is done, all other xQueries get executed one after the other.
Note query1 only accesses one document and all other xQueries run in parallel operate on a different document.
Before I debugged this more, can you let me know if a read-only query can block other read-only query? and if so any hints at where I should look at?
I am also in the process of debugging this more, so if I can get a sample code ready, I will share with you guys soon for making this easy.
Thanks, Srini