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

SBE should obey ASSERT_MIN_TS_HAS_NOT_FALLEN_OFF_OPLOG flag

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.9.0
    • Querying
    • None
    • Fully Compatible
    • Query 2021-01-25, Query Execution 2021-02-22

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: