[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: |
|
||||||||
| 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: |
| 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. |