[SERVER-42386] Retrieving durableCatalog should be guarded by a global lock in ttl.cpp Created: 24/Jul/19  Updated: 29/Oct/23  Resolved: 24/Jul/19

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.2.0-rc5, 4.3.1

Type: Bug 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
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.2
Sprint: Execution Team 2019-07-29
Participants:
Linked BF Score: 64

 Description   

Otherwise, a restartCatalog which resets durableCatalog pointer may happen between the time of retrieval and the time of use.



 Comments   
Comment by Githook User [ 25/Jul/19 ]

Author:

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

Message: SERVER-42386 Retrieving durableCatalog should be guarded by a global lock in ttl.cpp

(cherry picked from commit 1a0d2933c9c26cb7770bf7e4282fa573cdc574c3)
Branch: v4.2
https://github.com/mongodb/mongo/commit/f515c80ae9e17bc18d82ab1ea0b58c5147cf36f1

Comment by Githook User [ 24/Jul/19 ]

Author:

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

Message: SERVER-42386 Retrieving durableCatalog should be guarded by a global lock in ttl.cpp
Branch: master
https://github.com/mongodb/mongo/commit/1a0d2933c9c26cb7770bf7e4282fa573cdc574c3

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