-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Internal Code
-
None
-
Service Arch
-
Fully Compatible
-
v8.0
-
Service Arch 2024-04-29
-
163
It holds a mutex-protected StringMap, mapping each NamespaceString to a set of metrics as well as a histogram. Also, it manages a set of histograms, protected by another mutex, for operations against the database without considering the target NamespaceString.
We can remove the mutex on the set of global histograms by using relaxed atomics. As for the StringMap, we would need RCUs which are not currently available.
- is duplicated by
-
SERVER-89696 Make the global histogram in `Top` lock-free
- Closed
- is related to
-
SERVER-87004 Optimize hash-tables with infrequent updates
- Closed