-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Replication
-
Fully Compatible
-
Repl 2024-11-11, Repl 2024-11-25
Currently enqueued heartbeat handles are stored in std::vector which requires a linear scan of it to erase a handle being dequeued(under mutex). Changing it to std::unordered_map would optimize it to a constant time operation. Max seen value of handle queue size is a good metric to be exposed to server status.
- is related to
-
SERVER-95916 Investigate if heartbeat handle list can grow unbounded
- In Progress