-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Diagnostics, MMAPv1, Replication, Storage
-
Storage Execution
-
ALL
Currently, resourceIdParallelBatchWriterMode is a ResourceId of type RESOURCE_GLOBAL. This is problematic, as the lock stats collector overlaps this resource id with the main Global one and they show up together as simply one "Global" entry in currentOp and Top output.
Normally this isn't too much of a problem, since the PBWM and the Global lock are acquired and released in lock step. However, it does make things very confusing when trying to diagnose certain types of problems, since WiredTiger read/write tickets are acquired in between the acquisition of PBWM and Global.
We should change the ResourceId type so that the PBWM shows up (and accrues stats) separately from the main Global lock.