100 inserts => 58 documents in the DB, no errors

I create a Cluster, then repeat 100 times (with different doc keys).:

  • open a bucket
  • insert a document into it
  • dispose the bucket

I check result’s Success property and it’s true for all docs. Great. Now I go to the web console and see that the bucket contains 58 documents. The number of actually inserted docs are varies from run to run, but never equals to 100.

What am I missing? Or it’s a bug in .net client / the server itself?

I use the latest client and the latest server (windows, 3.0.3).

@vaskir -

Could you provide a code snippet and specify the SDK version you are using? If your using the async methods, you maybe disposing of the bucket before the operations complete, since they are non-blocking.