causing it to perform a collection scan on the oplog.
To fix, this query should pass the oplogReplay flag:
https://github.com/mongodb/mongo/blob/r3.7.1/src/mongo/db/ops/write_ops_retryability.cpp#L124
similar to here:
https://github.com/mongodb/mongo/blob/r3.7.1/src/mongo/db/transaction_history_iterator.cpp#L55
- is depended on by
-
SERVER-32804 runClientFunctionWithRetries is not decrementing retry counter in some cases
- Closed