Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-16149

Do not announce a 'yea' vote when not voting 'yea'

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.8.0-rc1
    • Affects Version/s: 2.7.8, 2.8.0-rc0
    • Component/s: Replication
    • None
    • ALL
    • Hide
      ubuntu@ip-172-31-22-48:~$ mlaunch --replicaset --nodes 50 --smallfiles --nojournal --oplogSize 32
      launching: mongod on port 27017
      launching: mongod on port 27018
      ...
      launching: mongod on port 27066
      replica set 'replset' initialized.
      ubuntu@ip-172-31-22-48:~$ 
      
      replset:PRIMARY> db.testcol.insert( { "msg" : "hello world"  } )
      WriteResult({ "nInserted" : 1 })
      
      
      replset:PRIMARY> rs.status()
      {
      	"set" : "replset",
      	"date" : ISODate("2014-11-13T14:40:08.145Z"),
      	"myState" : 1,
      	"members" : [
      		{
      			"_id" : 0,
      			"name" : "ip-172-31-22-48:27017",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.254Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:07.438Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045",
      			"syncingTo" : "ip-172-31-22-48:27045"
      		},
      		{
      			"_id" : 1,
      			"name" : "ip-172-31-22-48:27018",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889603, 2),
      			"optimeDate" : ISODate("2014-11-13T14:40:03Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.324Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:08.131Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030",
      			"syncingTo" : "ip-172-31-22-48:27030"
      		},
      		{
      			"_id" : 2,
      			"name" : "ip-172-31-22-48:27019",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.414Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.797Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045",
      			"syncingTo" : "ip-172-31-22-48:27045"
      		},
      		{
      			"_id" : 3,
      			"name" : "ip-172-31-22-48:27020",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.765Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.423Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030",
      			"syncingTo" : "ip-172-31-22-48:27030"
      		},
      		{
      			"_id" : 4,
      			"name" : "ip-172-31-22-48:27021",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.525Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.568Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045",
      			"syncingTo" : "ip-172-31-22-48:27045"
      		},
      		{
      			"_id" : 5,
      			"name" : "ip-172-31-22-48:27022",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.563Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.788Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045",
      			"syncingTo" : "ip-172-31-22-48:27045"
      		},
      		{
      			"_id" : 6,
      			"name" : "ip-172-31-22-48:27023",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.349Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.612Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030",
      			"syncingTo" : "ip-172-31-22-48:27030"
      		},
      		{
      			"_id" : 7,
      			"name" : "ip-172-31-22-48:27024",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.484Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.497Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030",
      			"syncingTo" : "ip-172-31-22-48:27030"
      		},
      		{
      			"_id" : 8,
      			"name" : "ip-172-31-22-48:27025",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.396Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.371Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030",
      			"syncingTo" : "ip-172-31-22-48:27030"
      		},
      		{
      			"_id" : 9,
      			"name" : "ip-172-31-22-48:27026",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.343Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.404Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030",
      			"syncingTo" : "ip-172-31-22-48:27030"
      		},
      		{
      			"_id" : 10,
      			"name" : "ip-172-31-22-48:27027",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.396Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.278Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030",
      			"syncingTo" : "ip-172-31-22-48:27030"
      		},
      		{
      			"_id" : 11,
      			"name" : "ip-172-31-22-48:27028",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.555Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.250Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030",
      			"syncingTo" : "ip-172-31-22-48:27030"
      		},
      		{
      			"_id" : 12,
      			"name" : "ip-172-31-22-48:27029",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889603, 2),
      			"optimeDate" : ISODate("2014-11-13T14:40:03Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.584Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.274Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030",
      			"syncingTo" : "ip-172-31-22-48:27030"
      		},
      		{
      			"_id" : 13,
      			"name" : "ip-172-31-22-48:27030",
      			"health" : 1,
      			"state" : 1,
      			"stateStr" : "PRIMARY",
      			"uptime" : 183,
      			"optime" : Timestamp(1415889603, 2),
      			"optimeDate" : ISODate("2014-11-13T14:40:03Z"),
      			"electionTime" : Timestamp(1415889440, 0),
      			"electionDate" : ISODate("2014-11-13T14:37:20Z"),
      			"self" : true
      		},
      		{
      			"_id" : 14,
      			"name" : "ip-172-31-22-48:27031",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.471Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.201Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030",
      			"syncingTo" : "ip-172-31-22-48:27030"
      		},
      		{
      			"_id" : 15,
      			"name" : "ip-172-31-22-48:27032",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.584Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.266Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030",
      			"syncingTo" : "ip-172-31-22-48:27030"
      		},
      		{
      			"_id" : 16,
      			"name" : "ip-172-31-22-48:27033",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.429Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.711Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27029",
      			"syncingTo" : "ip-172-31-22-48:27029"
      		},
      		{
      			"_id" : 17,
      			"name" : "ip-172-31-22-48:27034",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.477Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.458Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030",
      			"syncingTo" : "ip-172-31-22-48:27030"
      		},
      		{
      			"_id" : 18,
      			"name" : "ip-172-31-22-48:27035",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.480Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.446Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030",
      			"syncingTo" : "ip-172-31-22-48:27030"
      		},
      		{
      			"_id" : 19,
      			"name" : "ip-172-31-22-48:27036",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.584Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.324Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030",
      			"syncingTo" : "ip-172-31-22-48:27030"
      		},
      		{
      			"_id" : 20,
      			"name" : "ip-172-31-22-48:27037",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.495Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.324Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030",
      			"syncingTo" : "ip-172-31-22-48:27030"
      		},
      		{
      			"_id" : 21,
      			"name" : "ip-172-31-22-48:27038",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.481Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.349Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030",
      			"syncingTo" : "ip-172-31-22-48:27030"
      		},
      		{
      			"_id" : 22,
      			"name" : "ip-172-31-22-48:27039",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.584Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.288Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030",
      			"syncingTo" : "ip-172-31-22-48:27030"
      		},
      		{
      			"_id" : 23,
      			"name" : "ip-172-31-22-48:27040",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.550Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.247Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030",
      			"syncingTo" : "ip-172-31-22-48:27030"
      		},
      		{
      			"_id" : 24,
      			"name" : "ip-172-31-22-48:27041",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.499Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.434Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030",
      			"syncingTo" : "ip-172-31-22-48:27030"
      		},
      		{
      			"_id" : 25,
      			"name" : "ip-172-31-22-48:27042",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.495Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.577Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030",
      			"syncingTo" : "ip-172-31-22-48:27030"
      		},
      		{
      			"_id" : 26,
      			"name" : "ip-172-31-22-48:27043",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.550Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.637Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045",
      			"syncingTo" : "ip-172-31-22-48:27045"
      		},
      		{
      			"_id" : 27,
      			"name" : "ip-172-31-22-48:27044",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.593Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.785Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045",
      			"syncingTo" : "ip-172-31-22-48:27045"
      		},
      		{
      			"_id" : 28,
      			"name" : "ip-172-31-22-48:27045",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889603, 2),
      			"optimeDate" : ISODate("2014-11-13T14:40:03Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.584Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.203Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030",
      			"syncingTo" : "ip-172-31-22-48:27030"
      		},
      		{
      			"_id" : 29,
      			"name" : "ip-172-31-22-48:27046",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.637Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.375Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030",
      			"syncingTo" : "ip-172-31-22-48:27030"
      		},
      		{
      			"_id" : 30,
      			"name" : "ip-172-31-22-48:27047",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.584Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.856Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045",
      			"syncingTo" : "ip-172-31-22-48:27045"
      		},
      		{
      			"_id" : 31,
      			"name" : "ip-172-31-22-48:27048",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.584Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.711Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045",
      			"syncingTo" : "ip-172-31-22-48:27045"
      		},
      		{
      			"_id" : 32,
      			"name" : "ip-172-31-22-48:27049",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.571Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.583Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045",
      			"syncingTo" : "ip-172-31-22-48:27045"
      		},
      		{
      			"_id" : 33,
      			"name" : "ip-172-31-22-48:27050",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.557Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.619Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045",
      			"syncingTo" : "ip-172-31-22-48:27045"
      		},
      		{
      			"_id" : 34,
      			"name" : "ip-172-31-22-48:27051",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.584Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.944Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045",
      			"syncingTo" : "ip-172-31-22-48:27045"
      		},
      		{
      			"_id" : 35,
      			"name" : "ip-172-31-22-48:27052",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.687Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.807Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27029",
      			"syncingTo" : "ip-172-31-22-48:27029"
      		},
      		{
      			"_id" : 36,
      			"name" : "ip-172-31-22-48:27053",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.665Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.501Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045",
      			"syncingTo" : "ip-172-31-22-48:27045"
      		},
      		{
      			"_id" : 37,
      			"name" : "ip-172-31-22-48:27054",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.699Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.596Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030",
      			"syncingTo" : "ip-172-31-22-48:27030"
      		},
      		{
      			"_id" : 38,
      			"name" : "ip-172-31-22-48:27055",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.669Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.637Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045",
      			"syncingTo" : "ip-172-31-22-48:27045"
      		},
      		{
      			"_id" : 39,
      			"name" : "ip-172-31-22-48:27056",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.669Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.861Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045",
      			"syncingTo" : "ip-172-31-22-48:27045"
      		},
      		{
      			"_id" : 40,
      			"name" : "ip-172-31-22-48:27057",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.608Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.928Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045",
      			"syncingTo" : "ip-172-31-22-48:27045"
      		},
      		{
      			"_id" : 41,
      			"name" : "ip-172-31-22-48:27058",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.766Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.595Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030",
      			"syncingTo" : "ip-172-31-22-48:27030"
      		},
      		{
      			"_id" : 42,
      			"name" : "ip-172-31-22-48:27059",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.763Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.811Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045",
      			"syncingTo" : "ip-172-31-22-48:27045"
      		},
      		{
      			"_id" : 43,
      			"name" : "ip-172-31-22-48:27060",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.785Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.883Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045",
      			"syncingTo" : "ip-172-31-22-48:27045"
      		},
      		{
      			"_id" : 44,
      			"name" : "ip-172-31-22-48:27061",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.766Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.799Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045",
      			"syncingTo" : "ip-172-31-22-48:27045"
      		},
      		{
      			"_id" : 45,
      			"name" : "ip-172-31-22-48:27062",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.785Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:06.832Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045",
      			"syncingTo" : "ip-172-31-22-48:27045"
      		},
      		{
      			"_id" : 46,
      			"name" : "ip-172-31-22-48:27063",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.807Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:07.013Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045",
      			"syncingTo" : "ip-172-31-22-48:27045"
      		},
      		{
      			"_id" : 47,
      			"name" : "ip-172-31-22-48:27064",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.692Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:07.576Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045",
      			"syncingTo" : "ip-172-31-22-48:27045"
      		},
      		{
      			"_id" : 48,
      			"name" : "ip-172-31-22-48:27065",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:04.698Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:05.505Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "could not find member to sync from"
      		},
      		{
      			"_id" : 49,
      			"name" : "ip-172-31-22-48:27066",
      			"health" : 1,
      			"state" : 2,
      			"stateStr" : "SECONDARY",
      			"uptime" : 173,
      			"optime" : Timestamp(1415889433, 1),
      			"optimeDate" : ISODate("2014-11-13T14:37:13Z"),
      			"lastHeartbeat" : ISODate("2014-11-13T14:40:06.699Z"),
      			"lastHeartbeatRecv" : ISODate("2014-11-13T14:40:07.641Z"),
      			"pingMs" : 0,
      			"lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27018",
      			"syncingTo" : "ip-172-31-22-48:27018"
      		}
      	],
      	"replCoord" : "impl",
      	"ok" : 1
      }
      replset:PRIMARY> 
      
      
      
      
      replset:PRIMARY> rs.config()
      {
      	"_id" : "replset",
      	"version" : 1,
      	"members" : [
      		{
      			"_id" : 0,
      			"host" : "ip-172-31-22-48:27017",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 1
      		},
      		{
      			"_id" : 1,
      			"host" : "ip-172-31-22-48:27018",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 1
      		},
      		{
      			"_id" : 2,
      			"host" : "ip-172-31-22-48:27019",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 1
      		},
      		{
      			"_id" : 3,
      			"host" : "ip-172-31-22-48:27020",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 1
      		},
      		{
      			"_id" : 4,
      			"host" : "ip-172-31-22-48:27021",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 1
      		},
      		{
      			"_id" : 5,
      			"host" : "ip-172-31-22-48:27022",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 1
      		},
      		{
      			"_id" : 6,
      			"host" : "ip-172-31-22-48:27023",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 1
      		},
      		{
      			"_id" : 7,
      			"host" : "ip-172-31-22-48:27024",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 8,
      			"host" : "ip-172-31-22-48:27025",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 9,
      			"host" : "ip-172-31-22-48:27026",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 10,
      			"host" : "ip-172-31-22-48:27027",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 11,
      			"host" : "ip-172-31-22-48:27028",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 12,
      			"host" : "ip-172-31-22-48:27029",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 13,
      			"host" : "ip-172-31-22-48:27030",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 14,
      			"host" : "ip-172-31-22-48:27031",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 15,
      			"host" : "ip-172-31-22-48:27032",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 16,
      			"host" : "ip-172-31-22-48:27033",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 17,
      			"host" : "ip-172-31-22-48:27034",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 18,
      			"host" : "ip-172-31-22-48:27035",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 19,
      			"host" : "ip-172-31-22-48:27036",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 20,
      			"host" : "ip-172-31-22-48:27037",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 21,
      			"host" : "ip-172-31-22-48:27038",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 22,
      			"host" : "ip-172-31-22-48:27039",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 23,
      			"host" : "ip-172-31-22-48:27040",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 24,
      			"host" : "ip-172-31-22-48:27041",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 25,
      			"host" : "ip-172-31-22-48:27042",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 26,
      			"host" : "ip-172-31-22-48:27043",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 27,
      			"host" : "ip-172-31-22-48:27044",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 28,
      			"host" : "ip-172-31-22-48:27045",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 29,
      			"host" : "ip-172-31-22-48:27046",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 30,
      			"host" : "ip-172-31-22-48:27047",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 31,
      			"host" : "ip-172-31-22-48:27048",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 32,
      			"host" : "ip-172-31-22-48:27049",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 33,
      			"host" : "ip-172-31-22-48:27050",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 34,
      			"host" : "ip-172-31-22-48:27051",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 35,
      			"host" : "ip-172-31-22-48:27052",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 36,
      			"host" : "ip-172-31-22-48:27053",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 37,
      			"host" : "ip-172-31-22-48:27054",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 38,
      			"host" : "ip-172-31-22-48:27055",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 39,
      			"host" : "ip-172-31-22-48:27056",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 40,
      			"host" : "ip-172-31-22-48:27057",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 41,
      			"host" : "ip-172-31-22-48:27058",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 42,
      			"host" : "ip-172-31-22-48:27059",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 43,
      			"host" : "ip-172-31-22-48:27060",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 44,
      			"host" : "ip-172-31-22-48:27061",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 45,
      			"host" : "ip-172-31-22-48:27062",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 46,
      			"host" : "ip-172-31-22-48:27063",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 47,
      			"host" : "ip-172-31-22-48:27064",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 48,
      			"host" : "ip-172-31-22-48:27065",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 49,
      			"host" : "ip-172-31-22-48:27066",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 1,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		}
      	],
      	"settings" : {
      		"chainingAllowed" : true,
      		"heartbeatTimeoutSecs" : 10,
      		"getLastErrorModes" : {
      			
      		},
      		"getLastErrorDefaults" : {
      			"w" : 1,
      			"wtimeout" : 0
      		}
      	}
      }
      
      This is odd, node { _id : 13 } (27030) is primary:
      
      $ grep -r PRIMARY data
      data/replset/rs14/mongod.log:2014-11-13T14:37:20.945+0000 I REPLSETS transition to PRIMARY
      
      
      And over half of the guys voted for him:
      
      ubuntu@ip-172-31-22-48:~$ grep -r 'voting yea' data|sort -h
      data/replset/rs10/mongod.log:2014-11-13T14:37:20.944+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27030 (13)
      data/replset/rs11/mongod.log:2014-11-13T14:37:20.945+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27030 (13)
      data/replset/rs12/mongod.log:2014-11-13T14:37:20.945+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27030 (13)
      data/replset/rs13/mongod.log:2014-11-13T14:37:20.945+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27030 (13)
      data/replset/rs15/mongod.log:2014-11-13T14:37:20.945+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27030 (13)
      data/replset/rs16/mongod.log:2014-11-13T14:37:20.945+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27030 (13)
      data/replset/rs17/mongod.log:2014-11-13T14:37:20.997+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27045 (28)
      data/replset/rs18/mongod.log:2014-11-13T14:37:20.997+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27045 (28)
      data/replset/rs19/mongod.log:2014-11-13T14:37:20.997+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27045 (28)
      data/replset/rs1/mongod.log:2014-11-13T14:37:20.943+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27030 (13)
      data/replset/rs20/mongod.log:2014-11-13T14:37:20.998+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27045 (28)
      data/replset/rs21/mongod.log:2014-11-13T14:37:20.998+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27045 (28)
      data/replset/rs22/mongod.log:2014-11-13T14:37:20.998+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27045 (28)
      data/replset/rs23/mongod.log:2014-11-13T14:37:20.998+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27045 (28)
      data/replset/rs24/mongod.log:2014-11-13T14:37:20.998+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27045 (28)
      data/replset/rs25/mongod.log:2014-11-13T14:37:20.998+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27045 (28)
      data/replset/rs26/mongod.log:2014-11-13T14:37:20.998+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27045 (28)
      data/replset/rs27/mongod.log:2014-11-13T14:37:20.998+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27045 (28)
      data/replset/rs28/mongod.log:2014-11-13T14:37:20.998+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27045 (28)
      data/replset/rs2/mongod.log:2014-11-13T14:37:21.002+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27030 (13)
      data/replset/rs30/mongod.log:2014-11-13T14:37:20.998+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27045 (28)
      data/replset/rs31/mongod.log:2014-11-13T14:37:20.999+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27045 (28)
      data/replset/rs32/mongod.log:2014-11-13T14:37:20.998+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27045 (28)
      data/replset/rs33/mongod.log:2014-11-13T14:37:20.999+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27045 (28)
      data/replset/rs34/mongod.log:2014-11-13T14:37:20.999+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27045 (28)
      data/replset/rs35/mongod.log:2014-11-13T14:37:20.999+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27045 (28)
      data/replset/rs3/mongod.log:2014-11-13T14:37:20.943+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27030 (13)
      data/replset/rs4/mongod.log:2014-11-13T14:37:20.991+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27030 (13)
      data/replset/rs5/mongod.log:2014-11-13T14:37:20.944+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27030 (13)
      data/replset/rs6/mongod.log:2014-11-13T14:37:20.943+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27030 (13)
      data/replset/rs7/mongod.log:2014-11-13T14:37:20.943+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27030 (13)
      data/replset/rs8/mongod.log:2014-11-13T14:37:20.944+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27030 (13)
      data/replset/rs9/mongod.log:2014-11-13T14:37:20.944+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27030 (13)
      
      
      
      
      
      Show
      ubuntu@ip-172-31-22-48:~$ mlaunch --replicaset --nodes 50 --smallfiles --nojournal --oplogSize 32 launching: mongod on port 27017 launching: mongod on port 27018 ... launching: mongod on port 27066 replica set 'replset' initialized. ubuntu@ip-172-31-22-48:~$ replset:PRIMARY> db.testcol.insert( { "msg" : "hello world" } ) WriteResult({ "nInserted" : 1 }) replset:PRIMARY> rs.status() { "set" : "replset" , "date" : ISODate( "2014-11-13T14:40:08.145Z" ), "myState" : 1, "members" : [ { "_id" : 0, "name" : "ip-172-31-22-48:27017" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.254Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:07.438Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045" , "syncingTo" : "ip-172-31-22-48:27045" }, { "_id" : 1, "name" : "ip-172-31-22-48:27018" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889603, 2), "optimeDate" : ISODate( "2014-11-13T14:40:03Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.324Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:08.131Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030" , "syncingTo" : "ip-172-31-22-48:27030" }, { "_id" : 2, "name" : "ip-172-31-22-48:27019" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.414Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.797Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045" , "syncingTo" : "ip-172-31-22-48:27045" }, { "_id" : 3, "name" : "ip-172-31-22-48:27020" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.765Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.423Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030" , "syncingTo" : "ip-172-31-22-48:27030" }, { "_id" : 4, "name" : "ip-172-31-22-48:27021" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.525Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.568Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045" , "syncingTo" : "ip-172-31-22-48:27045" }, { "_id" : 5, "name" : "ip-172-31-22-48:27022" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.563Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.788Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045" , "syncingTo" : "ip-172-31-22-48:27045" }, { "_id" : 6, "name" : "ip-172-31-22-48:27023" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.349Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.612Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030" , "syncingTo" : "ip-172-31-22-48:27030" }, { "_id" : 7, "name" : "ip-172-31-22-48:27024" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.484Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.497Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030" , "syncingTo" : "ip-172-31-22-48:27030" }, { "_id" : 8, "name" : "ip-172-31-22-48:27025" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.396Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.371Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030" , "syncingTo" : "ip-172-31-22-48:27030" }, { "_id" : 9, "name" : "ip-172-31-22-48:27026" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.343Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.404Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030" , "syncingTo" : "ip-172-31-22-48:27030" }, { "_id" : 10, "name" : "ip-172-31-22-48:27027" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.396Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.278Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030" , "syncingTo" : "ip-172-31-22-48:27030" }, { "_id" : 11, "name" : "ip-172-31-22-48:27028" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.555Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.250Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030" , "syncingTo" : "ip-172-31-22-48:27030" }, { "_id" : 12, "name" : "ip-172-31-22-48:27029" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889603, 2), "optimeDate" : ISODate( "2014-11-13T14:40:03Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.584Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.274Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030" , "syncingTo" : "ip-172-31-22-48:27030" }, { "_id" : 13, "name" : "ip-172-31-22-48:27030" , "health" : 1, "state" : 1, "stateStr" : "PRIMARY" , "uptime" : 183, "optime" : Timestamp(1415889603, 2), "optimeDate" : ISODate( "2014-11-13T14:40:03Z" ), "electionTime" : Timestamp(1415889440, 0), "electionDate" : ISODate( "2014-11-13T14:37:20Z" ), "self" : true }, { "_id" : 14, "name" : "ip-172-31-22-48:27031" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.471Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.201Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030" , "syncingTo" : "ip-172-31-22-48:27030" }, { "_id" : 15, "name" : "ip-172-31-22-48:27032" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.584Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.266Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030" , "syncingTo" : "ip-172-31-22-48:27030" }, { "_id" : 16, "name" : "ip-172-31-22-48:27033" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.429Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.711Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27029" , "syncingTo" : "ip-172-31-22-48:27029" }, { "_id" : 17, "name" : "ip-172-31-22-48:27034" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.477Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.458Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030" , "syncingTo" : "ip-172-31-22-48:27030" }, { "_id" : 18, "name" : "ip-172-31-22-48:27035" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.480Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.446Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030" , "syncingTo" : "ip-172-31-22-48:27030" }, { "_id" : 19, "name" : "ip-172-31-22-48:27036" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.584Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.324Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030" , "syncingTo" : "ip-172-31-22-48:27030" }, { "_id" : 20, "name" : "ip-172-31-22-48:27037" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.495Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.324Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030" , "syncingTo" : "ip-172-31-22-48:27030" }, { "_id" : 21, "name" : "ip-172-31-22-48:27038" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.481Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.349Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030" , "syncingTo" : "ip-172-31-22-48:27030" }, { "_id" : 22, "name" : "ip-172-31-22-48:27039" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.584Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.288Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030" , "syncingTo" : "ip-172-31-22-48:27030" }, { "_id" : 23, "name" : "ip-172-31-22-48:27040" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.550Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.247Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030" , "syncingTo" : "ip-172-31-22-48:27030" }, { "_id" : 24, "name" : "ip-172-31-22-48:27041" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.499Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.434Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030" , "syncingTo" : "ip-172-31-22-48:27030" }, { "_id" : 25, "name" : "ip-172-31-22-48:27042" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.495Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.577Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030" , "syncingTo" : "ip-172-31-22-48:27030" }, { "_id" : 26, "name" : "ip-172-31-22-48:27043" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.550Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.637Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045" , "syncingTo" : "ip-172-31-22-48:27045" }, { "_id" : 27, "name" : "ip-172-31-22-48:27044" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.593Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.785Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045" , "syncingTo" : "ip-172-31-22-48:27045" }, { "_id" : 28, "name" : "ip-172-31-22-48:27045" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889603, 2), "optimeDate" : ISODate( "2014-11-13T14:40:03Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.584Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.203Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030" , "syncingTo" : "ip-172-31-22-48:27030" }, { "_id" : 29, "name" : "ip-172-31-22-48:27046" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.637Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.375Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030" , "syncingTo" : "ip-172-31-22-48:27030" }, { "_id" : 30, "name" : "ip-172-31-22-48:27047" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.584Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.856Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045" , "syncingTo" : "ip-172-31-22-48:27045" }, { "_id" : 31, "name" : "ip-172-31-22-48:27048" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.584Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.711Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045" , "syncingTo" : "ip-172-31-22-48:27045" }, { "_id" : 32, "name" : "ip-172-31-22-48:27049" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.571Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.583Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045" , "syncingTo" : "ip-172-31-22-48:27045" }, { "_id" : 33, "name" : "ip-172-31-22-48:27050" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.557Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.619Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045" , "syncingTo" : "ip-172-31-22-48:27045" }, { "_id" : 34, "name" : "ip-172-31-22-48:27051" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.584Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.944Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045" , "syncingTo" : "ip-172-31-22-48:27045" }, { "_id" : 35, "name" : "ip-172-31-22-48:27052" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.687Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.807Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27029" , "syncingTo" : "ip-172-31-22-48:27029" }, { "_id" : 36, "name" : "ip-172-31-22-48:27053" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.665Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.501Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045" , "syncingTo" : "ip-172-31-22-48:27045" }, { "_id" : 37, "name" : "ip-172-31-22-48:27054" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.699Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.596Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030" , "syncingTo" : "ip-172-31-22-48:27030" }, { "_id" : 38, "name" : "ip-172-31-22-48:27055" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.669Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.637Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045" , "syncingTo" : "ip-172-31-22-48:27045" }, { "_id" : 39, "name" : "ip-172-31-22-48:27056" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.669Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.861Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045" , "syncingTo" : "ip-172-31-22-48:27045" }, { "_id" : 40, "name" : "ip-172-31-22-48:27057" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.608Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.928Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045" , "syncingTo" : "ip-172-31-22-48:27045" }, { "_id" : 41, "name" : "ip-172-31-22-48:27058" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.766Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.595Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27030" , "syncingTo" : "ip-172-31-22-48:27030" }, { "_id" : 42, "name" : "ip-172-31-22-48:27059" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.763Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.811Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045" , "syncingTo" : "ip-172-31-22-48:27045" }, { "_id" : 43, "name" : "ip-172-31-22-48:27060" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.785Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.883Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045" , "syncingTo" : "ip-172-31-22-48:27045" }, { "_id" : 44, "name" : "ip-172-31-22-48:27061" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.766Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.799Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045" , "syncingTo" : "ip-172-31-22-48:27045" }, { "_id" : 45, "name" : "ip-172-31-22-48:27062" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.785Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:06.832Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045" , "syncingTo" : "ip-172-31-22-48:27045" }, { "_id" : 46, "name" : "ip-172-31-22-48:27063" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.807Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:07.013Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045" , "syncingTo" : "ip-172-31-22-48:27045" }, { "_id" : 47, "name" : "ip-172-31-22-48:27064" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.692Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:07.576Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27045" , "syncingTo" : "ip-172-31-22-48:27045" }, { "_id" : 48, "name" : "ip-172-31-22-48:27065" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:04.698Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:05.505Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "could not find member to sync from" }, { "_id" : 49, "name" : "ip-172-31-22-48:27066" , "health" : 1, "state" : 2, "stateStr" : "SECONDARY" , "uptime" : 173, "optime" : Timestamp(1415889433, 1), "optimeDate" : ISODate( "2014-11-13T14:37:13Z" ), "lastHeartbeat" : ISODate( "2014-11-13T14:40:06.699Z" ), "lastHeartbeatRecv" : ISODate( "2014-11-13T14:40:07.641Z" ), "pingMs" : 0, "lastHeartbeatMessage" : "syncing from: ip-172-31-22-48:27018" , "syncingTo" : "ip-172-31-22-48:27018" } ], "replCoord" : "impl" , "ok" : 1 } replset:PRIMARY> replset:PRIMARY> rs.config() { "_id" : "replset" , "version" : 1, "members" : [ { "_id" : 0, "host" : "ip-172-31-22-48:27017" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 1 }, { "_id" : 1, "host" : "ip-172-31-22-48:27018" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 1 }, { "_id" : 2, "host" : "ip-172-31-22-48:27019" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 1 }, { "_id" : 3, "host" : "ip-172-31-22-48:27020" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 1 }, { "_id" : 4, "host" : "ip-172-31-22-48:27021" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 1 }, { "_id" : 5, "host" : "ip-172-31-22-48:27022" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 1 }, { "_id" : 6, "host" : "ip-172-31-22-48:27023" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 1 }, { "_id" : 7, "host" : "ip-172-31-22-48:27024" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 8, "host" : "ip-172-31-22-48:27025" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 9, "host" : "ip-172-31-22-48:27026" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 10, "host" : "ip-172-31-22-48:27027" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 11, "host" : "ip-172-31-22-48:27028" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 12, "host" : "ip-172-31-22-48:27029" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 13, "host" : "ip-172-31-22-48:27030" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 14, "host" : "ip-172-31-22-48:27031" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 15, "host" : "ip-172-31-22-48:27032" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 16, "host" : "ip-172-31-22-48:27033" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 17, "host" : "ip-172-31-22-48:27034" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 18, "host" : "ip-172-31-22-48:27035" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 19, "host" : "ip-172-31-22-48:27036" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 20, "host" : "ip-172-31-22-48:27037" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 21, "host" : "ip-172-31-22-48:27038" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 22, "host" : "ip-172-31-22-48:27039" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 23, "host" : "ip-172-31-22-48:27040" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 24, "host" : "ip-172-31-22-48:27041" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 25, "host" : "ip-172-31-22-48:27042" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 26, "host" : "ip-172-31-22-48:27043" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 27, "host" : "ip-172-31-22-48:27044" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 28, "host" : "ip-172-31-22-48:27045" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 29, "host" : "ip-172-31-22-48:27046" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 30, "host" : "ip-172-31-22-48:27047" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 31, "host" : "ip-172-31-22-48:27048" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 32, "host" : "ip-172-31-22-48:27049" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 33, "host" : "ip-172-31-22-48:27050" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 34, "host" : "ip-172-31-22-48:27051" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 35, "host" : "ip-172-31-22-48:27052" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 36, "host" : "ip-172-31-22-48:27053" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 37, "host" : "ip-172-31-22-48:27054" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 38, "host" : "ip-172-31-22-48:27055" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 39, "host" : "ip-172-31-22-48:27056" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 40, "host" : "ip-172-31-22-48:27057" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 41, "host" : "ip-172-31-22-48:27058" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 42, "host" : "ip-172-31-22-48:27059" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 43, "host" : "ip-172-31-22-48:27060" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 44, "host" : "ip-172-31-22-48:27061" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 45, "host" : "ip-172-31-22-48:27062" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 46, "host" : "ip-172-31-22-48:27063" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 47, "host" : "ip-172-31-22-48:27064" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 48, "host" : "ip-172-31-22-48:27065" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 }, { "_id" : 49, "host" : "ip-172-31-22-48:27066" , "arbiterOnly" : false , "buildIndexes" : true , "hidden" : false , "priority" : 1, "tags" : { }, "slaveDelay" : 0, "votes" : 0 } ], "settings" : { "chainingAllowed" : true , "heartbeatTimeoutSecs" : 10, "getLastErrorModes" : { }, "getLastErrorDefaults" : { "w" : 1, "wtimeout" : 0 } } } This is odd, node { _id : 13 } (27030) is primary: $ grep -r PRIMARY data data/replset/rs14/mongod.log:2014-11-13T14:37:20.945+0000 I REPLSETS transition to PRIMARY And over half of the guys voted for him: ubuntu@ip-172-31-22-48:~$ grep -r 'voting yea' data|sort -h data/replset/rs10/mongod.log:2014-11-13T14:37:20.944+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27030 (13) data/replset/rs11/mongod.log:2014-11-13T14:37:20.945+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27030 (13) data/replset/rs12/mongod.log:2014-11-13T14:37:20.945+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27030 (13) data/replset/rs13/mongod.log:2014-11-13T14:37:20.945+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27030 (13) data/replset/rs15/mongod.log:2014-11-13T14:37:20.945+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27030 (13) data/replset/rs16/mongod.log:2014-11-13T14:37:20.945+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27030 (13) data/replset/rs17/mongod.log:2014-11-13T14:37:20.997+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27045 (28) data/replset/rs18/mongod.log:2014-11-13T14:37:20.997+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27045 (28) data/replset/rs19/mongod.log:2014-11-13T14:37:20.997+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27045 (28) data/replset/rs1/mongod.log:2014-11-13T14:37:20.943+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27030 (13) data/replset/rs20/mongod.log:2014-11-13T14:37:20.998+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27045 (28) data/replset/rs21/mongod.log:2014-11-13T14:37:20.998+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27045 (28) data/replset/rs22/mongod.log:2014-11-13T14:37:20.998+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27045 (28) data/replset/rs23/mongod.log:2014-11-13T14:37:20.998+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27045 (28) data/replset/rs24/mongod.log:2014-11-13T14:37:20.998+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27045 (28) data/replset/rs25/mongod.log:2014-11-13T14:37:20.998+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27045 (28) data/replset/rs26/mongod.log:2014-11-13T14:37:20.998+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27045 (28) data/replset/rs27/mongod.log:2014-11-13T14:37:20.998+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27045 (28) data/replset/rs28/mongod.log:2014-11-13T14:37:20.998+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27045 (28) data/replset/rs2/mongod.log:2014-11-13T14:37:21.002+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27030 (13) data/replset/rs30/mongod.log:2014-11-13T14:37:20.998+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27045 (28) data/replset/rs31/mongod.log:2014-11-13T14:37:20.999+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27045 (28) data/replset/rs32/mongod.log:2014-11-13T14:37:20.998+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27045 (28) data/replset/rs33/mongod.log:2014-11-13T14:37:20.999+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27045 (28) data/replset/rs34/mongod.log:2014-11-13T14:37:20.999+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27045 (28) data/replset/rs35/mongod.log:2014-11-13T14:37:20.999+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27045 (28) data/replset/rs3/mongod.log:2014-11-13T14:37:20.943+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27030 (13) data/replset/rs4/mongod.log:2014-11-13T14:37:20.991+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27030 (13) data/replset/rs5/mongod.log:2014-11-13T14:37:20.944+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27030 (13) data/replset/rs6/mongod.log:2014-11-13T14:37:20.943+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27030 (13) data/replset/rs7/mongod.log:2014-11-13T14:37:20.943+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27030 (13) data/replset/rs8/mongod.log:2014-11-13T14:37:20.944+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27030 (13) data/replset/rs9/mongod.log:2014-11-13T14:37:20.944+0000 I REPLSETS replSetElect voting yea for ip-172-31-22-48:27030 (13)

      Using MongoDB 2.7.8 I used mlaunch to start a replica set with 50 nodes. From the logs I can see that 33 nodes cast a vote in the election, even if only 7 nodes have votes=1. Note that according to the manual (http://docs.mongodb.org/manual/reference/replica-configuration/#local.system.replset.members[n].votes) it should in any case not be possible to have more than 7 nodes voting in an election.

            Assignee:
            milkie@mongodb.com Eric Milkie
            Reporter:
            henrik.ingo@mongodb.com Henrik Ingo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: