In my pipeline, I use Pipeline Execute snap to run some sub-pipeline.
I like using the pool size option in this Snap so that it can create multiple pipelines running at concurrently.
However, like any other concurrent thing, sometimes there is a small chance that 2 or more concurrent threads write the same data into the same place(e.g. database) at the same time, although there’s a check in my pipeline for the data existance in DB before doing insert. (If no data, then insert, if there is data, then update)
Is there any locking or thread safe mechanisams (like Java lock) in Snaplogic that can prevent such threading issue?