Insert Notifier code needs to be robust to clock changes

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Repl 2023-12-25
    • 135
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Matthew Russotto (Inactive)
            Reporter:
            Matthew Russotto (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: