[SERVER-46867] Ensure that a db directory is created even when alwaysUseLogFiles is enabled Created: 13/Mar/20  Updated: 29/Oct/23  Resolved: 24/Aug/20

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 4.7.0

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

Issue Links:
Related
is related to SERVER-45491 Add resmoke.py option to save mongod.... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: STM 2020-08-24, STM 2020-09-07
Participants:
Story Points: 2

 Description   

When alwaysUseLogFiles is enabled, the noCleanData option is set to make sure that previously-logged data is not deleted. This will prevent resetDbpath() from being called. However, resetDbpath() is what is used to create the db path in the first place.

We need to create the directory if it doesn't exist, while allowing existing paths to not be cleaned.



 Comments   
Comment by Githook User [ 24/Aug/20 ]

Author:

{'name': 'Carl Raiden Worley', 'email': 'carl.worley@10gen.com', 'username': 'aggrand'}

Message: SERVER-46867 Ensure that a db directory is created even when alwaysUseLogFiles is enabled
Branch: master
https://github.com/mongodb/mongo/commit/b6fb9bab0570163cbc2b1e9b7d51c3121705b917

Comment by Brooke Miller [ 11/Jun/20 ]

If any members of STM want to pick up this ticket in sprint 06-29 when they have bandwidth, feel free to.

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