cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Avoid Race Condition due to bulk upload

Chandan
New Contributor III

I have a pipeline with duplicate check logic in place which queries a endpoint and if no matching record is found then stores the file at the endpoint.

My doubt is ,for a bulk upload call to this pipeline, will that duplicate check work or not. I understand that each snap process the incoming requests separately and lets say two parellel processes Process1 and Process2 are at the duplicate check, but as none of them have created the document , both will pass and will create duplicate document in case of a bulk request.

please correct me if my understanding of pipeline processing document is not correct or if you have a solution in mind to tackle this issue. I donโ€™t want to add the delay after duplicate check as that will increase my pipeline execution time. Any help will be greatly appreciated.

Thank you

2 REPLIES 2

Chandan
New Contributor III

@bojanvelevski , Could you please share your expertise on this topic ?

Hi @Chandan,

Can you elaborate a bit more on this? A screenshot of the pipeline will also be helpful. You can mask out any sensitive information.

Regards,
Bojan