Geert -

They are two separate .xqy files. The big one does update the log document. The small one has an option to return log information or to return just progress.

So I removed the option to return the log data. Now it simply returns the contents of the server fields. But it still waits.

--
/Steve

/

Hi Steve,

My guess would be that you are reading the log file in the status query, while it is locked for update in the update query. Could your status query be running in update mode? If you have everything in one xqy, you might want to put it in a separate xqy..

Instead of manipulating a log file at each change, you could write separate log records in some collection as well. Do an xdmp:estimate on the collection and you have your count..

Cheers,

Geert

*Van:* [email protected] [mailto: [email protected]] *Namens *Steve Carton *Verzonden:* woensdag 19 december 2012 0:37 *Aan:* [email protected] *Onderwerp:* Re: [MarkLogic Dev General] running two queries at the same time





_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to