A document can be in a state for as long as needed, as the state is written to 
the document as a property.  So the state itself is not subject to any time 
limit.  Once the document goes into a particular state, the processing for that 
state is triggered, and that processing is executed as an XQuery module that is 
spawned.  If the spawned module processing takes longer then the time limit, 
then that module will throw an exception (and it will not complete). 

Pipelines do not actually execute, they are units of configuration that tell 
what modules to execute when certain triggers are fired, and what state to set 
the documents to on success and failure.

The CPF Guide, the API documentation for xdmp:spawn, and the chapter in the App 
Dev Guide about triggers are the main places this is talked about in the 
documentation.

Does that help?

-Danny


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Florent Georges
Sent: Wednesday, March 24, 2010 9:58 AM
To: MarkLogic General ML
Subject: [MarkLogic Dev General] Timeout in a CPF pipeline?

  Hi,

  I have a CPF pipeline, a state of which can last a long time.
That long that actually the query can exceed the maximum time
allowed for a query before a timeout.

  I cannot find in the documentation anything about what happens
in such a case.  Would you have a link?

  Regards,

-- 
Florent Georges
http://www.fgeorges.org/


      

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

Reply via email to