-
Type: Improvement
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
Repl 2023-08-07, Repl 2023-08-21
In SERVER-77269 we removed some logic from BatchWriteOp::cancelWrites that had no effect. Now that it is removed, the why parameter is no longer used, so we should just remove it and update the call sites to stop passing a value.
Also, the BatchWriteOp::_cancelBatches method which calls this method is not used so we can remove it as well.