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

Calling embedded instance create after instance destroy uses original dbpath

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0-rc6, 4.1.1
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Platforms 2018-06-18

      Description

      The following call pattern produces the following error:
      mongo_embedded_v1_instance_create - dbpath1
      mongo_embedded_v1_instance_destroy
      mongo_embedded_v1_instance_create - dbpath2

      com.mongodb.embedded.client.MongoClientEmbeddedException: Data directory /var/folders/v4/m6f6w8h54j58bp8q4h_138180000gn/T/test-5b16edf31d2375e40ef3a192-grnpn/mongodb_mongodb1/0/ not found. (2:29)
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: