Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-50580

SBE should obey ASSERT_MIN_TS_HAS_NOT_FALLEN_OFF_OPLOG flag

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Querying
    • Labels:
      None
    • Fully Compatible
    • Query 2021-01-25, Query Execution 2021-02-22

      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.

            Assignee:
            bernard.gorman@mongodb.com Bernard Gorman
            Reporter:
            bernard.gorman@mongodb.com Bernard Gorman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: