Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
Security 2023-06-26
-
4
Description
ElapsedTracker is used in two situations
1. By PlanYieldPolicy as part single-threaded queries to determine if they should yield
2. By WiredTigerKVEngine to track if the sizeStorer should be flushed
Only the second case needs to be thread-safe. This can be done with a mutex instead of using atomics in all cases.