We should not use the RAII helpers when taking the collection lock in onCannotImplicitlyCreateCollection (to check if the collection has already been created), because they can throw in the shardVersion or databaseVersion checks.
Directly take DBLock and CollectionLock in onCannotImplicitlyCreateCollection
- Assignee:
- Esha Maharishi (Inactive)
- Reporter:
- Esha Maharishi (Inactive)
- Votes:
-
0 Vote for this issue
- Watchers:
-
3 Start watching this issue
- Created:
- Updated:
- Resolved: