SERVER-13498 ApplyOpsCmd should do preconditions check under lock
Merge remote-tracking branch 'upstream/master'