Hi Danny, To my knowledge in latter versions of MarkLogic post-commit triggers will run on the host that manages the (master) forest to which a document gets inserted. CPF involves pre-commit triggers for status change handling (that detects the more low-level inserts/updates/deletes, and prepares the initial state), after that the state change takes over which runs with post-commit triggers..
Kind regards, Geert From: <[email protected]<mailto:[email protected]>> on behalf of Danny Sinang <[email protected]<mailto:[email protected]>> Reply-To: MarkLogic Developer Discussion <[email protected]<mailto:[email protected]>> Date: Saturday, October 10, 2015 at 12:38 AM To: general <[email protected]<mailto:[email protected]>> Subject: [MarkLogic Dev General] Which node will CPF code run on ? We have a record loader job that ingests documents to our ML cluster. Then we have CPF code waiting to process them. My questions are : 1. Which node in the cluster will the CPF code execute from ? 2. Will it be the node hosting the master forest(s) where the document got inserted to ? Regards, Danny
_______________________________________________ General mailing list [email protected] Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
