[SERVER-44859] plan_cache_index_create.js is blocked on two phase index build commit Created: 26/Nov/19  Updated: 29/Oct/23  Resolved: 27/Nov/19

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.3.3

Type: Bug Priority: Major - P3
Reporter: Benety Goh Assignee: Benety Goh
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
is related to SERVER-44821 retrieving storage stats for currentO... Closed
is related to SERVER-38341 Remove Parallel Batch Writer Mutex Closed
is related to SERVER-43692 enable two phase index builds by default Closed
is related to SERVER-44701 Remove support for the plan cache int... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2019-12-02
Participants:
Linked BF Score: 40

 Description   

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.



 Comments   
Comment by Githook User [ 27/Nov/19 ]

Author:

{'email': 'benety@mongodb.com', 'name': 'Benety Goh', 'username': 'benety'}

Message: SERVER-44859 fix plan_cache_index_create.js to work with two phase index builds
Branch: master
https://github.com/mongodb/mongo/commit/a4926b39a1fd96dbf8776ba0018c8d1a4c058c19

Generated at Thu Feb 08 05:07:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.