[SERVER-33330] prevent crashes in closeAll() when called via restartCatalog command Created: 14/Feb/18  Updated: 29/Oct/23  Resolved: 16/Feb/18

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 3.7.3

Type: Task Priority: Major - P3
Reporter: Eric Milkie Assignee: Eric Milkie
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
Sprint: Storage 2018-02-26
Participants:
Linked BF Score: 0

 Comments   
Comment by Githook User [ 16/Feb/18 ]

Author:

{'email': 'milkie@10gen.com', 'name': 'Eric Milkie', 'username': 'milkie'}

Message: SERVER-33330 closeAll now checks for bg jobs in progress

Previously, closeAll() would have a "force" mode that caused it to either ignore bg jobs
in progress (force on), or avoid closing databases with bg jobs in progress. This parameter
is no longer useful, so I have removed it. The test-only restartCatalog command will now
return an error instead of crashing if you call it with bg jobs in progress.
Branch: master
https://github.com/mongodb/mongo/commit/a38cb8cf8e6382bee0feb843086fe985f4c94266

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