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

WiredTigerRecordStore searchNear fails on backwards searches with oplog read timestamp

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Daotang Yang
            Reporter:
            matthew.russotto@mongodb.com Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: