Details
-
Improvement
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
None
-
Catalog and Routing
-
133
-
1
Description
SERVER-71287 changed the behavior of verifyDbAndCollection() to throw a WriteConflictException rather than SnapshotUnavailable when there is a write request.
This means acquireCollection() and AutoGetCollection() can both throw WriteConflictException when establishing a collection snapshot.
There are several places in the code that don't wrap acquireCollection() in a writeConflictRetry(), but use writeConflictRetry() in the lines following the acquisition.