-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Service Arch
-
Fully Compatible
-
Service Arch 2023-11-13
In the Top class, there is one lock that guards the global histogram metrics and the per collection statistics. These metrics are updated by separate methods and at different times during a query
Since these two pieces of the Top class are independent, they could be guarded by two different locks instead of one lock. This will reduce cache line and atomic concurrency.