[SERVER-7201] Replica set with more than one primary node Created: 28/Sep/12 Updated: 10/Dec/14 Resolved: 07/Mar/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | 2.0.7 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Miguel Vilá | Assignee: | Adinoyi Omuya |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| Description |
|
After initializing a replica set every node that is added is set to primary. , , , { "_id" : 3, "name" : "master:27017", "health" : 1, "state" : 1, "stateStr" : "PRIMARY", "uptime" : 289, "lastHeartbeat" : ISODate("2012-09-28T19:58:55Z"), "pingMs" : 0 } ], |
| Comments |
| Comment by Adinoyi Omuya [ 12/Mar/13 ] |
|
Are you still experiencing this problem? |
| Comment by Miguel Vilá [ 29/Sep/12 ] |
|
"rs.config" from slavec: ] , , , { "_id" : 3, "host" : "master:27017", "arbiterOnly" : true } ] ] ] this is in the hosts file in the master: 127.0.0.1 BigData-15-A the others ones look similar with the appropriate changes. (BigData-15-C is the same as slavec, etc...) |
| Comment by Eliot Horowitz (Inactive) [ 29/Sep/12 ] |
|
Can you send rs.conf() from each node, and what the host names resolve to? |