I have written java backed webscript which will call webservice and webservice response has metadata to be updated for node .
This webscript is to update more than 1000 documents with some delay in each document processing .
But its observed that on cluser env . If I run it , it does not update all docs in one go .
It updates 30% to 50% docs . Hence I have to run it for multiple times.
what's wrong with this approach ?