[DOCS-6155] Amend "Reconfigure by "Breaking the Mirror"" to include a case when WT is used Created: 07/Sep/15  Updated: 30/Oct/23  Resolved: 01/Nov/22

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: mongodb-3.0
Fix Version/s: Server_Docs_20231030

Type: Task Priority: Minor - P4
Reporter: Dmitry Ryabtsev Assignee: Kay Kim (Inactive)
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Participants:
Days since reply: 1 year, 14 weeks, 1 day ago
Epic Link: DOCSP-1769

 Description   

The current "Breaking the Mirror" steps work only on MMAPv1 because there are no local.* files under dbpath if WT is used, and, if any of the WT data files are removed, the server will not be able to start.

We should either add another set of steps for WT, such as:

1. Stop the surviving mongod instances.

use admin
db.shutdownServer()

2. Move the data directories (i.e. dbPath) for all the members except db0.example.net, so that all the members except db0.example.net have empty data directories.

3. Start the db0.example.net mongod instance with no --replSet option set.

4. Drop the local database:

use local
db.dropDatabase()

5. Stop the instance.

6. Start each member of the replica set normally (with --replSet option set).

7. Connect to the db0.example.net instance in a mongo shell and run rs.initiate() to initiate the replica set.

8. Add the other set members using rs.add().

Or perhaps we should only leave the WT scenario as it is universal and will also work on MMAPv1.



 Comments   
Comment by Education Bot [ 01/Nov/22 ]

Hello! This ticket has been closed due to inactivity. If you believe this ticket is still important, please reopen it and leave a comment to explain why. Thank you!

Generated at Thu Feb 08 07:51:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.