[SERVER-45681] listIndexes blocked by commitIndexBuild in list_indexes_with_build_uuids.js without snapshot read support Created: 21/Jan/20  Updated: 29/Oct/23  Resolved: 27/Jan/20

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
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2020-01-27
Participants:
Linked BF Score: 34

 Description   

list_indexes_with_build_uuids.js may deadlock when building indexes two-phased using a storage engine that does not support snapshot reads. The test verifies listIndexes behavior when index builds are in progress but if there is a commitIndexBuild oplog entry that is being applied, the listIndexes command will be blocked trying to acquire the PBWM lock.



 Comments   
Comment by Githook User [ 24/Jan/20 ]

Author:

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

Message: SERVER-45681 fix list_indexes_with_build_uuids.js to work with storage engine without snapshot read support
Branch: master
https://github.com/mongodb/mongo/commit/a7aecc1ff0af7822c38b5f5da2bc0fd27e3f7778

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