[SERVER-78229] createIndexes should acquire the CollectionLock of the targeted nss before accessing the parent DatabaseShardingState Created: 20/Jun/23  Updated: 29/Oct/23  Resolved: 27/Jun/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0, 7.0.0-rc6, 5.0.20, 6.0.9

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

Issue Links:
Backports
Depends
Related
related to SERVER-69893 Add the ability to acquire lock manag... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.0, v6.3, v6.0, v5.0
Sprint: Sharding EMEA 2023-06-26, Sharding EMEA 2023-07-10
Participants:
Linked BF Score: 116

 Comments   
Comment by Githook User [ 14/Jul/23 ]

Author:

{'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}

Message: SERVER-78229 Fix lock acquisition order in createIndexes

(cherry picked from commit f59b33baa921caf945e493f19f6ab4aedd9430e2)
Branch: v5.0
https://github.com/mongodb/mongo/commit/deff5d22e225531d7c3b20587f2a099b816f2d00

Comment by Githook User [ 14/Jul/23 ]

Author:

{'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}

Message: SERVER-78229 Fix lock acquisition order in createIndexes
Branch: v6.0
https://github.com/mongodb/mongo/commit/f59b33baa921caf945e493f19f6ab4aedd9430e2

Comment by Githook User [ 28/Jun/23 ]

Author:

{'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}

Message: SERVER-78229 Fix lock acquisition order in createIndexes

(cherry picked from commit 7ab0d64ea46f86ab20b59a84d100e814d9bb44b8)
Branch: v7.0
https://github.com/mongodb/mongo/commit/ab8a6d94bedc87d3548f970ebbc56aa014a703a2

Comment by Githook User [ 26/Jun/23 ]

Author:

{'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}

Message: SERVER-78229 Fix lock acquisition order in createIndexes
Branch: master
https://github.com/mongodb/mongo/commit/7ab0d64ea46f86ab20b59a84d100e814d9bb44b8

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