SERVER-139246In Code Review
Fix the semantics for resume gap in case of shard retargetting.
* sharded cluster with 2 shards A and B * open a stream over a collection which lives on shard A only * move collection to another shard B * oplog roll over (we won’t receive control event for retargeting) * getMore → error event resume gap * we still target shard A and never retarget to shard B and never receive new events