When collMod'ing a new validator/validationAction, the original validator BSON is std::move'd to update the durable catalog. If a write conflict happens after this, the collMod will retry however the BSON becomes empty and thus checks like this one will not get hit since we early return if the validator object is empty.
Validator BSON is lost if write conflict occurs during collMod
- Assignee:
-
Nicholas Zolnierz
- Reporter:
-
Nicholas Zolnierz
- Votes:
-
0 Vote for this issue - Watchers:
-
5 Start watching this issue
- Created:
- Updated:
- Resolved: