-
Type: New Feature
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.0.1
-
Component/s: Replication
-
Replication
-
Major Change
-
(copied to CRM)
When running rs.initiate(), if any nodes other than the initiator node have data (but not an oplog), an error results:
"errmsg" : "couldn't initiate : member <node> has data already, cannot initiate set. All members except initiator must be empty."
If you later use rs.add() to a node that has data (but not an oplog), then it will cause that node to initial sync and throw no errors.
If you can rs.add() a node with data in it, it follows that you should be able to have a configuration object for rs.initiate() that contains a node with data in it (and both should cause an initial sync of that node).
- is related to
-
SERVER-28006 Unexpected Initial Sync on Replicaset
- Closed