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

Insert Notifier code needs to be robust to clock changes

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Repl 2023-12-25
    • 135

    Description

      The waitForInsertNotifier code (used for awaitData queries, typically on the oplog) in both the classic and SBE plan executors currently expects that if "shouldWaitForInserts" returns false, it will never return true for that particular query. It turns out that this assumption is not true if the system clock can go backwards; we need to protect against that case.

      Attachments

        Activity

          People

            matthew.russotto@mongodb.com Matthew Russotto
            matthew.russotto@mongodb.com Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: