The plan_cache_index_create.js uses the $planCacheStats aggregation command to check the plan cache while an index build is paused. On a secondary node with a two phase index build, the aggregation command may be blocked by commitIndexBuild oplog entry because it is unable to acquire the PBWM lock.
- is related to
-
SERVER-44821 retrieving storage stats for currentOp blocked by slow oplog application
- Closed
-
SERVER-38341 Remove Parallel Batch Writer Mutex
- Closed
-
SERVER-43692 enable two phase index builds by default
- Closed
-
SERVER-44701 Remove support for the plan cache introspection commands
- Closed