Not getting all records in cosmosdb when executing the linq file with lprun

Hi,

I have written a batch file to run multiple .linq files in sequence to update my cosmosDb data. When I am running this batch file, many linq scripts worked fine and got all data with the exact number of records, but there are few scripts which are only submitting 60-65 records whereas it should be 1000+ records.

When I am running those scripts with LINQPad5, all those scripts are running fine. But when running with lprun there is data mismatch.

Don't know what's happening.


Thanks,
Vineet

Comments

  • Perhaps you are calling async methods without awaiting them? Could you share the code you are using?
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!