In SERVER-48523, we added a new QueryPlannerParams flag called ASSERT_MIN_TS_HAS_NOT_FALLEN_OFF_OPLOG and a corresponding field CollectionScanParams::assertMinTsHasNotFallenOffOplog, which causes a CollectionScan to throw OplogQueryMinTsMissing if the ts of the first entry encountered in the oplog is greater than the minTs derived from the query filter. This feature is used by change streams and will soon be leveraged by the Resharding project (see SERVER-49896). As such, we should make sure that SBE obeys this flag when set.
- is related to
-
SERVER-49896 Allow aggregate command to fail if minTs oplog cursor has fallen off the oplog
- Closed
-
SERVER-48523 Unconditionally check the first entry in the oplog when attempting to resume a change stream
- Closed
- related to
-
SERVER-54350 Investigate potential race conditions in SBE oplog plans
- Closed