-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Fully Compatible
-
ALL
-
Sharding 2021-01-25, Sharding 2021-02-08
-
1
insertOplogAndUpdateConfigForRetryable() is only called for the first op='i' oplog entry in the group.
if (op.isForReshardingSessionApplication()) {
return insertOplogAndUpdateConfigForRetryable(opCtx, entryOrGroupedInserts.getOp());
}
Note that ReshardingOplogApplicationRules::_applyInsert_inlock() throws when the repl::OplogEntryOrGroupedInserts is a grouped insert to cause repl::OplogApplierUtils::applyOplogBatchCommon() to retry with the op='i' oplog entries ungrouped.