Closed wouter-n closed 10 months ago
Interesting use-case. Thank you for the PR! Could you please add a test? Using $inc operation for example
This PR is stale because it has been open 45 days with no activity.
This PR was closed because it has been stalled for 14 days with no activity.
Context:
I found this issue when batching many requests to a bulk writer and manually committing 10'000 operations at a time (see pseudo code below)
What:
Reset the
operations
attribute after the operations have been committed in the bulk writerWhy:
To ensure that after committing the list of operations is not done twice after a manual call of
commit()
Please let me know if I missed something or I'm using the bulk writer in the wrong way but this very much looks like a bug.