WiredTigerRecordStore searchNear fails on backwards searches with oplog read timestamp

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • Execution Team 2023-11-13, Execution Team 2023-11-27
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If you have a recovery unit with an oplog read timestamp which is between records (that is, there is no oplog entry with that read timestamp), then a backwards seekNear on a record ID corresponding to the oplog read timestamp or any later record ID will return boost::none instead of the proper previous record.

      I believe a similar problem could theoretically occur with visibility on forward searches, but it never does because WT search_near always returns the next record if it exists.

              Assignee:
              Daotang Yang
              Reporter:
              Matthew Russotto
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: