[SERVER-421] Disable replication, flush data on disk, filesystem snapshot, enable replication Created: 13/Nov/09  Updated: 29/May/12  Resolved: 31/Dec/09

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

Type: New Feature Priority: Major - P3
Reporter: Nicolas Fouché Assignee: Eliot Horowitz (Inactive)
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-255 add optional write lock to fsync command Closed
Participants:

 Description   

The goal is execute EBS snapshots of slave data (or data from a slave pair in a replica-pair setup), while read-only clients are connected.

The command "closeAllDatabases" only works on masters.
The only way I found to stop a replication is to send the command "replacepeer" to a replica pair master. It's not really what we would need here, as the "mongod" process of the master has to be restarted to accept a new pair; and the command is sent to the master, not the slave.



 Comments   
Comment by Eliot Horowitz (Inactive) [ 31/Dec/09 ]

SERVER-255 is better

Comment by Eliot Horowitz (Inactive) [ 13/Nov/09 ]

One option is to make fsync command take a stopreplication option, and a "run system command option"

Comment by Nicolas Fouché [ 13/Nov/09 ]

From the discussion http://groups.google.com/group/mongodb-user/browse_thread/thread/ae9ebd39b2fa8859/ad2862b23adf54d6

Generated at Thu Feb 08 02:54:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.