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

Calling embedded instance create after instance destroy uses original dbpath

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.0.0-rc6, 4.1.1
    • None
    • None
    • Fully Compatible
    • ALL
    • 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

            henrik.edin@mongodb.com Henrik Edin
            eric.daniels@mongodb.com Eric Daniels (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: