Forum Discussion
anubhav_nautiya
6 years agoContributor
Hi I have a query on this, if we have two Snaplexes in our org say Snaplex A and Snaplex B. I have a pipeline which calls a child pipeline, so if a parent pipline in running in one of the nodes of Snaplex A, could child pipeline run on a node of Plex B? or will it always run on a node of Plex A?
Please note we are using pipe.plexpath in Snaplex property of PE snap
Regards
Anubhav
- skidambi6 years agoFormer Employee
Hello - Based on your question, with Snaplex A and Snaplex B in place; if the parent pipeline is getting executed in one of the nodes of Snaplex A, and I am assuming you are calling the child pipeline using the Pipeline Execute snap. The Pipeline Execute snap has the following three options for the developer to choose from (on the field labeled Execute On):
- SNAPLEX_WITH_PATH
- When you choose this option, another field Snaplex Path would appear.
- NOT PROVIDING any info on this Snaplex Path field, would result in the (chosen) child pipeline getting executed in the SAME NODE as the parent. For example, if parent pipeline is executing on a node in Snaplex A, the child pipeline specified in the Pipeline Execute snap would execute in the same node where the parent is being executed.
- Providing a valid Snaplex path, would result in the child running in any of the available nodes in the Snaplex provided.
- LOCAL_NODE
- Child pipeline gets executed in the same node (of the same Snaplex) where the parent is being executed.
- LOCAL_SNAPLEX
- Child pipeline gets executed in the same Snaplex where is parent is being executed. Note that this only means the same Snaplex but the child and parent may get executed in different nodes depending upon how busy each of the nodes in that Snaplex are.