-
Type: Question
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
Most operations are logged after being performed (presumably under the assumption that an assertion occurring during the operation indicates the operation was not applied and should not be logged). However, delete and removeRange seem to be logged to the oplog before being performed.
Even if there may not be a complete story in place for logging properly under all error conditions, it may make sense for delete and removeRange to be consistent with other operations.