[SERVER-35421] Calling embedded instance create after instance destroy uses original dbpath Created: 05/Jun/18  Updated: 29/Oct/23  Resolved: 12/Jun/18

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.0.0-rc6, 4.1.1

Type: Bug Priority: Major - P3
Reporter: Eric Daniels (Inactive) Assignee: Henrik Edin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Platforms 2018-06-18
Participants:

 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)



 Comments   
Comment by Githook User [ 12/Jun/18 ]

Author:

{'username': 'henrikedin', 'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com'}

Message: SERVER-35421 Embedded options parsing can re-initialize.

(cherry picked from commit 06d98ac518613723d3e5aa80b6877941e164699f)
Branch: v4.0
https://github.com/mongodb/mongo/commit/1cb34c79fe9e9fd84556a84fd622e5ebbe87f987

Comment by Githook User [ 12/Jun/18 ]

Author:

{'username': 'henrikedin', 'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com'}

Message: SERVER-35421 Embedded options parsing can re-initialize.
Branch: master
https://github.com/mongodb/mongo/commit/06d98ac518613723d3e5aa80b6877941e164699f

Generated at Thu Feb 08 04:39:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.