[SERVER-37930] Add test coverage for createIndexes inside nested applyOps Created: 05/Nov/18  Updated: 29/Oct/23  Resolved: 07/Nov/18

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 3.6.10, 4.0.5, 4.1.6

Type: Improvement Priority: Major - P3
Reporter: Xiangyu Yao (Inactive) Assignee: Xiangyu Yao (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
is related to SERVER-37313 FTDC collection blocked during foregr... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0, v3.6
Sprint: Storage NYC 2018-11-19
Participants:

 Description   

The change from SERVER-37313 made me realize we don't have test coverage for createIndexes inside nested applyOps. A nested applyOps is interesting because it may take the Global X lock twice. Later codepath should pay attention to this special case because certain things (such as TempRelease) would not work with recursive lock.



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

Author:

{'name': 'Xiangyu Yao', 'email': 'xiangyu.yao@mongodb.com', 'username': 'xy24'}

Message: SERVER-37930 Add test coverage for createIndexes inside nested applyOps

(cherry picked from commit f83f6dbfb09c4584ee85a90d22cb53946c153c1f)
Branch: v3.6
https://github.com/mongodb/mongo/commit/44f5c988dc1eb94ceaaa7d314b9b79819f8db6c4

Comment by Githook User [ 10/Nov/18 ]

Author:

{'name': 'Xiangyu Yao', 'email': 'xiangyu.yao@mongodb.com', 'username': 'xy24'}

Message: SERVER-37930 Add test coverage for createIndexes inside nested applyOps

(cherry picked from commit f83f6dbfb09c4584ee85a90d22cb53946c153c1f)
Branch: v4.0
https://github.com/mongodb/mongo/commit/05fb66500a037fbe5b9a05eaf08e45f5183f2421

Comment by Githook User [ 07/Nov/18 ]

Author:

{'name': 'Xiangyu Yao', 'email': 'xiangyu.yao@mongodb.com', 'username': 'xy24'}

Message: SERVER-37930 Add test coverage for createIndexes inside nested applyOps
Branch: master
https://github.com/mongodb/mongo/commit/f83f6dbfb09c4584ee85a90d22cb53946c153c1f

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