Azure / azure-cosmosdb-js-server

The JavaScript SDK for server-side programming in Azure Cosmos DB
MIT License
179 stars 152 forks source link

Bulk delete store procedure Execution result is empty #41

Open Richard-biz opened 4 years ago

Richard-biz commented 4 years ago

Hi @phurytw @aliuy @mkolt @jnonce @chlahav And team We want to delete the Documents which is not have a partition key in Document DB collection, So far we find out the tool which is suitable in our requirement,So we created the store procedure (SP) using the bulkdelete.js (https://github.com/Azure/azure-cosmosdb-js-server/blob/master/samples/stored-procedures/bulkDelete.js) but its not working Its return the empty string value in the result,And we tried with C# application also here we are facing the "The requested operation exceeded maximum allocated time." We know the consmosdb execution time 5Sec is more than that it will through this exception for continution token , but continuation token value has true even though we are getting same issue,So could please help me out the issue to move forward on the solution.