SERVER-66205 introduced throwWriteConflictException, which calls into iasserted to throw instances of WriteConflictException. For workloads that excersice contended writes, the additional, non-inlined function calls may cause performance regression. As part of this ticket, we should replace instance of iasserted(someStatus) with the following:
throw ExceptionFor<ErrorCodes::WriteConflictException>(someStatus);