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

Calling embedded instance create after instance destroy uses original dbpath

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

      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@mongodb.com Henrik Edin
            Reporter:
            eric.daniels@mongodb.com Eric Daniels
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: