using MongoDB C# Driver, and trying to use DeleteManyAsync()
with retryable writes, so I configured it, and included ?retrywrites=true
in the connection string.
Tried using DeleteManyAsync()
and getting this error
```A write operation resulted in an error. WriteError: { Category : “Uncategorized”, Code : 72, Message : “Cannot use (or request) retryable writes with limit=0” }.`
So I set ?retrywrites=false
, and ``DeleteManyAsync()` started working.
I saw in the documentation for retryable writes that DeleteMany isn’t supported, only single document operations are - but I would expect DeleteManyAsync
to just not retry and go through, instead of erroring when used. Any ideas?