Skip to content

Instantly share code, notes, and snippets.

@edgarcosta
Created May 4, 2016 13:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edgarcosta/69a4f967dfb11971ecce7e23ce64229c to your computer and use it in GitHub Desktop.
Save edgarcosta/69a4f967dfb11971ecce7e23ce64229c to your computer and use it in GitHub Desktop.
{
"set" : "lmfdb0",
"date" : ISODate("2016-05-04T13:52:30.058Z"),
"myState" : 1,
"term" : NumberLong(1),
"heartbeatIntervalMillis" : NumberLong(2000),
"members" : [
{
"_id" : 0,
"name" : "warwick.lmfdb.xyz:37010",
"health" : 1,
"state" : 1,
"stateStr" : "PRIMARY",
"uptime" : 141408,
"optime" : {
"ts" : Timestamp(1462365886, 1),
"t" : NumberLong(1)
},
"optimeDate" : ISODate("2016-05-04T12:44:46Z"),
"electionTime" : Timestamp(1462228930, 2),
"electionDate" : ISODate("2016-05-02T22:42:10Z"),
"configVersion" : 7,
"self" : true
},
{
"_id" : 1,
"name" : "m0.lmfdb.xyz:27017",
"health" : 1,
"state" : 2,
"stateStr" : "SECONDARY",
"uptime" : 136745,
"optime" : {
"ts" : Timestamp(1462365886, 1),
"t" : NumberLong(1)
},
"optimeDate" : ISODate("2016-05-04T12:44:46Z"),
"lastHeartbeat" : ISODate("2016-05-04T13:52:28.692Z"),
"lastHeartbeatRecv" : ISODate("2016-05-04T13:52:26.363Z"),
"pingMs" : NumberLong(105),
"configVersion" : 7
},
{
"_id" : 2,
"name" : "m1.lmfdb.xyz:27017",
"health" : 1,
"state" : 2,
"stateStr" : "SECONDARY",
"uptime" : 136302,
"optime" : {
"ts" : Timestamp(1462365886, 1),
"t" : NumberLong(1)
},
"optimeDate" : ISODate("2016-05-04T12:44:46Z"),
"lastHeartbeat" : ISODate("2016-05-04T13:52:28.232Z"),
"lastHeartbeatRecv" : ISODate("2016-05-04T13:52:28.374Z"),
"pingMs" : NumberLong(105),
"syncingTo" : "warwick.lmfdb.xyz:37010",
"configVersion" : 7
}
],
"ok" : 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment