[SERVER-77629] Prevent race between DiskSpaceMonitor and FCBIS Created: 31/May/23  Updated: 29/Oct/23  Resolved: 02/Jun/23

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

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

Issue Links:
Backports
Depends
Related
is related to SERVER-77628 Fix locking around FCBIS and storageG... Open
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.0
Sprint: Repl 2023-06-12
Participants:
Linked BF Score: 134

 Description   

The Disk Space Monitor currently accesses storageGlobalParams.dbPath at a time when it might be being changed by File Copy Based Initial Sync. We can fix this by taking an IS global lock.



 Comments   
Comment by Githook User [ 02/Jun/23 ]

Author:

{'name': 'Matthew Russotto', 'email': 'matthew.russotto@mongodb.com', 'username': 'mtrussotto'}

Message: SERVER-77629 Prevent race between DiskSpaceMonitor and FCBIS
Branch: v7.0
https://github.com/mongodb/mongo/commit/e54a7ebb88c7c922e9f817e7c23a4b16fcf288af

Comment by Githook User [ 01/Jun/23 ]

Author:

{'name': 'Matthew Russotto', 'email': 'matthew.russotto@mongodb.com', 'username': 'mtrussotto'}

Message: SERVER-77629 Prevent race between DiskSpaceMonitor and FCBIS
Branch: master
https://github.com/mongodb/mongo/commit/52db3d4bbd9bf06cda34859769acc53a690a45dd

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