Calling embedded instance create after instance destroy uses original dbpath

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.0.0-rc6, 4.1.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Platforms 2018-06-18
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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)
      

            Assignee:
            Henrik Edin
            Reporter:
            Eric Daniels
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: