[SERVER-9975] possible to start multiple mongods in same data directory if started simultaneously Created: 20/Jun/13  Updated: 06/Dec/22  Resolved: 11/Nov/16

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Greg Studer Assignee: Backlog - Storage Execution Team
Resolution: Incomplete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Storage Execution
Operating System: ALL
Steps To Reproduce:

new ShardingTest({ shards : 2, other : { shardOptions :

{ dbpath : "./data" }

} });

Participants:

 Description   

This is rare, but possible to trigger by specifying the same dbpath for shards when using ShardingTest, for example. Could be easier to trigger if using automated tools. Lockfile doesn't seem to fully protect.



 Comments   
Comment by Eric Milkie [ 11/Nov/16 ]

I don't think this is possible any more.

Generated at Thu Feb 08 03:21:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.