Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-46867

Ensure that a db directory is created even when alwaysUseLogFiles is enabled

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • Fully Compatible
    • ALL
    • STM 2020-08-24, STM 2020-09-07
    • 2

      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.

            Assignee:
            carl.worley@mongodb.com Raiden Worley (Inactive)
            Reporter:
            carl.worley@mongodb.com Raiden Worley (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: