{"action":"created","issue":{"url":"https://api.github.com/repos/ozwillo/ozwillo-datacore/issues/123","labels_url":"https://api.github.com/repos/ozwillo/ozwillo-datacore/issues/123/labels{/name}","comments_url":"https://api.github.com/repos/ozwillo/ozwillo-datacore/issues/123/comments","events_url":"https://api.github.com/repos/ozwillo/ozwillo-datacore/issues/123/events","html_url":"https://github.com/ozwillo/ozwillo-datacore/issues/123","id":114242075,"number":123,"title":"PLNM-LY-PROD-Serveur101 in Recovery status","user":{"login":"MLE-Astek","id":15086612,"avatar_url":"https://avatars.githubusercontent.com/u/15086612?v=3","gravatar_id":"","url":"https://api.github.com/users/MLE-Astek","html_url":"https://github.com/MLE-Astek","followers_url":"https://api.github.com/users/MLE-Astek/followers","following_url":"https://api.github.com/users/MLE-Astek/following{/other_user}","gists_url":"https://api.github.com/users/MLE-Astek/gists{/gist_id}","starred_url":"https://api.github.com/users/MLE-Astek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MLE-Astek/subscriptions","organizations_url":"https://api.github.com/users/MLE-Astek/orgs","repos_url":"https://api.github.com/users/MLE-Astek/repos","events_url":"https://api.github.com/users/MLE-Astek/events{/privacy}","received_events_url":"https://api.github.com/users/MLE-Astek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-30T10:25:29Z","updated_at":"2015-11-26T15:43:30Z","closed_at":null,"body":"The serveur PLNM-LY-PROD-Serveur101 is in recovery status. Have to see why and since when.\r\n```JSON\r\nrs0:RECOVERING> rs.status()\r\n{\r\n        \"set\" : \"rs0\",\r\n        \"date\" : ISODate(\"2015-10-30T10:14:11Z\"),\r\n        \"myState\" : 3,\r\n        \"members\" : [\r\n                {\r\n                        \"_id\" : 0,\r\n                        \"name\" : \"plnm-ly-prod-serveur101:27017\",\r\n                        \"health\" : 1,\r\n                        \"state\" : 3,\r\n                        \"stateStr\" : \"RECOVERING\",\r\n                        \"uptime\" : 153853,\r\n                        \"optime\" : Timestamp(1445939232, 292),\r\n                        \"optimeDate\" : ISODate(\"2015-10-27T09:47:12Z\"),\r\n                        \"infoMessage\" : \"still syncing, not yet to minValid optime 5632c36f:25a\",\r\n                        \"self\" : true\r\n                },\r\n                {\r\n                        \"_id\" : 1,\r\n                        \"name\" : \"plnm-ly-prod-serveur201:27017\",\r\n                        \"health\" : 1,\r\n                        \"state\" : 1,\r\n                        \"stateStr\" : \"PRIMARY\",\r\n                        \"uptime\" : 153639,\r\n                        \"optime\" : Timestamp(1446200147, 700),\r\n                        \"optimeDate\" : ISODate(\"2015-10-30T10:15:47Z\"),\r\n                        \"lastHeartbeat\" : ISODate(\"2015-10-30T10:14:10Z\"),\r\n                        \"lastHeartbeatRecv\" : ISODate(\"2015-10-30T10:14:11Z\"),\r\n                        \"pingMs\" : 0,\r\n                        \"electionTime\" : Timestamp(1444899324, 1),\r\n                        \"electionDate\" : ISODate(\"2015-10-15T08:55:24Z\")\r\n                },\r\n                {\r\n                        \"_id\" : 2,\r\n                        \"name\" : \"plnm-bv-prod-serveur101:27017\",\r\n                        \"health\" : 1,\r\n                        \"state\" : 2,\r\n                        \"stateStr\" : \"SECONDARY\",\r\n                        \"uptime\" : 120462,\r\n                        \"optime\" : Timestamp(1446200147, 183),\r\n                        \"optimeDate\" : ISODate(\"2015-10-30T10:15:47Z\"),\r\n                        \"lastHeartbeat\" : ISODate(\"2015-10-30T10:14:10Z\"),\r\n                        \"lastHeartbeatRecv\" : ISODate(\"2015-10-30T10:14:10Z\"),\r\n                        \"pingMs\" : 5,\r\n                        \"syncingTo\" : \"plnm-ly-prod-serveur201:27017\"\r\n                }\r\n        ],\r\n        \"ok\" : 1\r\n}\r\n```\r\nAfter ensure he change to primary if it's normal."},"comment":{"url":"https://api.github.com/repos/ozwillo/ozwillo-datacore/issues/comments/159944591","html_url":"https://github.com/ozwillo/ozwillo-datacore/issues/123#issuecomment-159944591","issue_url":"https://api.github.com/repos/ozwillo/ozwillo-datacore/issues/123","id":159944591,"user":{"login":"mdutoo","id":690874,"avatar_url":"https://avatars.githubusercontent.com/u/690874?v=3","gravatar_id":"","url":"https://api.github.com/users/mdutoo","html_url":"https://github.com/mdutoo","followers_url":"https://api.github.com/users/mdutoo/followers","following_url":"https://api.github.com/users/mdutoo/following{/other_user}","gists_url":"https://api.github.com/users/mdutoo/gists{/gist_id}","starred_url":"https://api.github.com/users/mdutoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdutoo/subscriptions","organizations_url":"https://api.github.com/users/mdutoo/orgs","repos_url":"https://api.github.com/users/mdutoo/repos","events_url":"https://api.github.com/users/mdutoo/events{/privacy}","received_events_url":"https://api.github.com/users/mdutoo/received_events","type":"User","site_admin":false},"created_at":"2015-11-26T15:43:30Z","updated_at":"2015-11-26T15:43:30Z","body":"Dixit @schambon : \r\n\r\nSometimes it happens when there has been a write conflict (more or less, a write has been made on LY-101 before it went offline, while there has already been writes on the new primary). TODO: purge manually, or better reinits the node from a not too old backup."}}