{"action":"created","issue":{"url":"https://api.github.com/repos/sclorg/mongodb-container/issues/180","repository_url":"https://api.github.com/repos/sclorg/mongodb-container","labels_url":"https://api.github.com/repos/sclorg/mongodb-container/issues/180/labels{/name}","comments_url":"https://api.github.com/repos/sclorg/mongodb-container/issues/180/comments","events_url":"https://api.github.com/repos/sclorg/mongodb-container/issues/180/events","html_url":"https://github.com/sclorg/mongodb-container/pull/180","id":177158815,"number":180,"title":"Fix replication","user":{"login":"php-coder","id":87088,"avatar_url":"https://avatars.githubusercontent.com/u/87088?v=3","gravatar_id":"","url":"https://api.github.com/users/php-coder","html_url":"https://github.com/php-coder","followers_url":"https://api.github.com/users/php-coder/followers","following_url":"https://api.github.com/users/php-coder/following{/other_user}","gists_url":"https://api.github.com/users/php-coder/gists{/gist_id}","starred_url":"https://api.github.com/users/php-coder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/php-coder/subscriptions","organizations_url":"https://api.github.com/users/php-coder/orgs","repos_url":"https://api.github.com/users/php-coder/repos","events_url":"https://api.github.com/users/php-coder/events{/privacy}","received_events_url":"https://api.github.com/users/php-coder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-15T12:05:51Z","updated_at":"2016-09-15T12:12:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sclorg/mongodb-container/pulls/180","html_url":"https://github.com/sclorg/mongodb-container/pull/180","diff_url":"https://github.com/sclorg/mongodb-container/pull/180.diff","patch_url":"https://github.com/sclorg/mongodb-container/pull/180.patch"},"body":"This fixes MongoDB replication that was broken by df104523417431ac013733b5478e483124b048c8 (#177) commit.\r\n\r\nBefore this change we run the `replset_supervisor.sh` script in the background and after that run the mongodb daemon. Because `replset_supervisor.sh` script connect to mongo it was possible that database wasn't ready yet and script was failing. I updated the script for waiting when mongo will accept connections.\r\n\r\nReplica set started working but only for a short time and later it stopped working again because mongo process was killed to early. To fix this I removed the code from `replset_supervisor.sh` script that kills mongo.\r\n\r\nFix #179 \r\n\r\nPTAL @bparees \r\n\r\n@omron93 Why did we kill mongo from the `replset_supervisor.sh` script?"},"comment":{"url":"https://api.github.com/repos/sclorg/mongodb-container/issues/comments/247311125","html_url":"https://github.com/sclorg/mongodb-container/pull/180#issuecomment-247311125","issue_url":"https://api.github.com/repos/sclorg/mongodb-container/issues/180","id":247311125,"user":{"login":"bparees","id":4974046,"avatar_url":"https://avatars.githubusercontent.com/u/4974046?v=3","gravatar_id":"","url":"https://api.github.com/users/bparees","html_url":"https://github.com/bparees","followers_url":"https://api.github.com/users/bparees/followers","following_url":"https://api.github.com/users/bparees/following{/other_user}","gists_url":"https://api.github.com/users/bparees/gists{/gist_id}","starred_url":"https://api.github.com/users/bparees/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bparees/subscriptions","organizations_url":"https://api.github.com/users/bparees/orgs","repos_url":"https://api.github.com/users/bparees/repos","events_url":"https://api.github.com/users/bparees/events{/privacy}","received_events_url":"https://api.github.com/users/bparees/received_events","type":"User","site_admin":false},"created_at":"2016-09-15T12:12:18Z","updated_at":"2016-09-15T12:12:18Z","body":"lgtm, will wait for @omron93 to weigh in before merging.\r\n"}}
{"actor":{"display_login":"bparees"}}