Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
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.