{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/asivokon/mongooplog-alt/pulls/1","id":19420154,"html_url":"https://github.com/asivokon/mongooplog-alt/pull/1","diff_url":"https://github.com/asivokon/mongooplog-alt/pull/1.diff","patch_url":"https://github.com/asivokon/mongooplog-alt/pull/1.patch","issue_url":"https://api.github.com/repos/asivokon/mongooplog-alt/issues/1","number":1,"state":"closed","locked":false,"title":"Support following/tailing the cursor","user":{"login":"jaraco","id":308610,"avatar_url":"https://avatars.githubusercontent.com/u/308610?v=3","gravatar_id":"","url":"https://api.github.com/users/jaraco","html_url":"https://github.com/jaraco","followers_url":"https://api.github.com/users/jaraco/followers","following_url":"https://api.github.com/users/jaraco/following{/other_user}","gists_url":"https://api.github.com/users/jaraco/gists{/gist_id}","starred_url":"https://api.github.com/users/jaraco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaraco/subscriptions","organizations_url":"https://api.github.com/users/jaraco/orgs","repos_url":"https://api.github.com/users/jaraco/repos","events_url":"https://api.github.com/users/jaraco/events{/privacy}","received_events_url":"https://api.github.com/users/jaraco/received_events","type":"User","site_admin":false},"body":"I found that mongooplog-alt wasn't actually following the cursor, even when I supplied -f. I've previously worked on a project where Bernie Hackett provided me with a recipe for tailing the oplogs reliably.\r\n\r\nAs a result, I've refactored the code to implement that technique. I recommend reviewing this PR on a commit-by-commit basis. I tried to make each commit isolated and stable.","created_at":"2014-08-06T17:55:24Z","updated_at":"2015-10-29T15:19:12Z","closed_at":"2015-10-29T15:19:12Z","merged_at":null,"merge_commit_sha":"0a3f5b68704c84c8243482a979e9e8248421e026","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/asivokon/mongooplog-alt/pulls/1/commits","review_comments_url":"https://api.github.com/repos/asivokon/mongooplog-alt/pulls/1/comments","review_comment_url":"https://api.github.com/repos/asivokon/mongooplog-alt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/asivokon/mongooplog-alt/issues/1/comments","statuses_url":"https://api.github.com/repos/asivokon/mongooplog-alt/statuses/3259dbeba7a3a396ebb352d20864353466de14fe","head":{"label":"jaraco:tailable","ref":"tailable","sha":"3259dbeba7a3a396ebb352d20864353466de14fe","user":{"login":"jaraco","id":308610,"avatar_url":"https://avatars.githubusercontent.com/u/308610?v=3","gravatar_id":"","url":"https://api.github.com/users/jaraco","html_url":"https://github.com/jaraco","followers_url":"https://api.github.com/users/jaraco/followers","following_url":"https://api.github.com/users/jaraco/following{/other_user}","gists_url":"https://api.github.com/users/jaraco/gists{/gist_id}","starred_url":"https://api.github.com/users/jaraco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaraco/subscriptions","organizations_url":"https://api.github.com/users/jaraco/orgs","repos_url":"https://api.github.com/users/jaraco/repos","events_url":"https://api.github.com/users/jaraco/events{/privacy}","received_events_url":"https://api.github.com/users/jaraco/received_events","type":"User","site_admin":false},"repo":{"id":22683414,"name":"mongooplog-alt","full_name":"jaraco/mongooplog-alt","owner":{"login":"jaraco","id":308610,"avatar_url":"https://avatars.githubusercontent.com/u/308610?v=3","gravatar_id":"","url":"https://api.github.com/users/jaraco","html_url":"https://github.com/jaraco","followers_url":"https://api.github.com/users/jaraco/followers","following_url":"https://api.github.com/users/jaraco/following{/other_user}","gists_url":"https://api.github.com/users/jaraco/gists{/gist_id}","starred_url":"https://api.github.com/users/jaraco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaraco/subscriptions","organizations_url":"https://api.github.com/users/jaraco/orgs","repos_url":"https://api.github.com/users/jaraco/repos","events_url":"https://api.github.com/users/jaraco/events{/privacy}","received_events_url":"https://api.github.com/users/jaraco/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jaraco/mongooplog-alt","description":"Synchronize mongodb databases in separate replica sets. An improved alternative to official mongooplog utility","fork":true,"url":"https://api.github.com/repos/jaraco/mongooplog-alt","forks_url":"https://api.github.com/repos/jaraco/mongooplog-alt/forks","keys_url":"https://api.github.com/repos/jaraco/mongooplog-alt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jaraco/mongooplog-alt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jaraco/mongooplog-alt/teams","hooks_url":"https://api.github.com/repos/jaraco/mongooplog-alt/hooks","issue_events_url":"https://api.github.com/repos/jaraco/mongooplog-alt/issues/events{/number}","events_url":"https://api.github.com/repos/jaraco/mongooplog-alt/events","assignees_url":"https://api.github.com/repos/jaraco/mongooplog-alt/assignees{/user}","branches_url":"https://api.github.com/repos/jaraco/mongooplog-alt/branches{/branch}","tags_url":"https://api.github.com/repos/jaraco/mongooplog-alt/tags","blobs_url":"https://api.github.com/repos/jaraco/mongooplog-alt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jaraco/mongooplog-alt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jaraco/mongooplog-alt/git/refs{/sha}","trees_url":"https://api.github.com/repos/jaraco/mongooplog-alt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jaraco/mongooplog-alt/statuses/{sha}","languages_url":"https://api.github.com/repos/jaraco/mongooplog-alt/languages","stargazers_url":"https://api.github.com/repos/jaraco/mongooplog-alt/stargazers","contributors_url":"https://api.github.com/repos/jaraco/mongooplog-alt/contributors","subscribers_url":"https://api.github.com/repos/jaraco/mongooplog-alt/subscribers","subscription_url":"https://api.github.com/repos/jaraco/mongooplog-alt/subscription","commits_url":"https://api.github.com/repos/jaraco/mongooplog-alt/commits{/sha}","git_commits_url":"https://api.github.com/repos/jaraco/mongooplog-alt/git/commits{/sha}","comments_url":"https://api.github.com/repos/jaraco/mongooplog-alt/comments{/number}","issue_comment_url":"https://api.github.com/repos/jaraco/mongooplog-alt/issues/comments{/number}","contents_url":"https://api.github.com/repos/jaraco/mongooplog-alt/contents/{+path}","compare_url":"https://api.github.com/repos/jaraco/mongooplog-alt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jaraco/mongooplog-alt/merges","archive_url":"https://api.github.com/repos/jaraco/mongooplog-alt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jaraco/mongooplog-alt/downloads","issues_url":"https://api.github.com/repos/jaraco/mongooplog-alt/issues{/number}","pulls_url":"https://api.github.com/repos/jaraco/mongooplog-alt/pulls{/number}","milestones_url":"https://api.github.com/repos/jaraco/mongooplog-alt/milestones{/number}","notifications_url":"https://api.github.com/repos/jaraco/mongooplog-alt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jaraco/mongooplog-alt/labels{/name}","releases_url":"https://api.github.com/repos/jaraco/mongooplog-alt/releases{/id}","created_at":"2014-08-06T13:24:59Z","updated_at":"2014-08-06T17:49:26Z","pushed_at":"2014-08-07T17:47:35Z","git_url":"git://github.com/jaraco/mongooplog-alt.git","ssh_url":"git@github.com:jaraco/mongooplog-alt.git","clone_url":"https://github.com/jaraco/mongooplog-alt.git","svn_url":"https://github.com/jaraco/mongooplog-alt","homepage":null,"size":411,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"asivokon:master","ref":"master","sha":"c7c51aaecfbbea287f5d56e6daf26c233041daec","user":{"login":"asivokon","id":2910707,"avatar_url":"https://avatars.githubusercontent.com/u/2910707?v=3","gravatar_id":"","url":"https://api.github.com/users/asivokon","html_url":"https://github.com/asivokon","followers_url":"https://api.github.com/users/asivokon/followers","following_url":"https://api.github.com/users/asivokon/following{/other_user}","gists_url":"https://api.github.com/users/asivokon/gists{/gist_id}","starred_url":"https://api.github.com/users/asivokon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asivokon/subscriptions","organizations_url":"https://api.github.com/users/asivokon/orgs","repos_url":"https://api.github.com/users/asivokon/repos","events_url":"https://api.github.com/users/asivokon/events{/privacy}","received_events_url":"https://api.github.com/users/asivokon/received_events","type":"User","site_admin":false},"repo":{"id":7578296,"name":"mongooplog-alt","full_name":"asivokon/mongooplog-alt","owner":{"login":"asivokon","id":2910707,"avatar_url":"https://avatars.githubusercontent.com/u/2910707?v=3","gravatar_id":"","url":"https://api.github.com/users/asivokon","html_url":"https://github.com/asivokon","followers_url":"https://api.github.com/users/asivokon/followers","following_url":"https://api.github.com/users/asivokon/following{/other_user}","gists_url":"https://api.github.com/users/asivokon/gists{/gist_id}","starred_url":"https://api.github.com/users/asivokon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asivokon/subscriptions","organizations_url":"https://api.github.com/users/asivokon/orgs","repos_url":"https://api.github.com/users/asivokon/repos","events_url":"https://api.github.com/users/asivokon/events{/privacy}","received_events_url":"https://api.github.com/users/asivokon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/asivokon/mongooplog-alt","description":"Synchronize mongodb databases in separate replica sets. An improved alternative to official mongooplog utility","fork":true,"url":"https://api.github.com/repos/asivokon/mongooplog-alt","forks_url":"https://api.github.com/repos/asivokon/mongooplog-alt/forks","keys_url":"https://api.github.com/repos/asivokon/mongooplog-alt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asivokon/mongooplog-alt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asivokon/mongooplog-alt/teams","hooks_url":"https://api.github.com/repos/asivokon/mongooplog-alt/hooks","issue_events_url":"https://api.github.com/repos/asivokon/mongooplog-alt/issues/events{/number}","events_url":"https://api.github.com/repos/asivokon/mongooplog-alt/events","assignees_url":"https://api.github.com/repos/asivokon/mongooplog-alt/assignees{/user}","branches_url":"https://api.github.com/repos/asivokon/mongooplog-alt/branches{/branch}","tags_url":"https://api.github.com/repos/asivokon/mongooplog-alt/tags","blobs_url":"https://api.github.com/repos/asivokon/mongooplog-alt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asivokon/mongooplog-alt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asivokon/mongooplog-alt/git/refs{/sha}","trees_url":"https://api.github.com/repos/asivokon/mongooplog-alt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asivokon/mongooplog-alt/statuses/{sha}","languages_url":"https://api.github.com/repos/asivokon/mongooplog-alt/languages","stargazers_url":"https://api.github.com/repos/asivokon/mongooplog-alt/stargazers","contributors_url":"https://api.github.com/repos/asivokon/mongooplog-alt/contributors","subscribers_url":"https://api.github.com/repos/asivokon/mongooplog-alt/subscribers","subscription_url":"https://api.github.com/repos/asivokon/mongooplog-alt/subscription","commits_url":"https://api.github.com/repos/asivokon/mongooplog-alt/commits{/sha}","git_commits_url":"https://api.github.com/repos/asivokon/mongooplog-alt/git/commits{/sha}","comments_url":"https://api.github.com/repos/asivokon/mongooplog-alt/comments{/number}","issue_comment_url":"https://api.github.com/repos/asivokon/mongooplog-alt/issues/comments{/number}","contents_url":"https://api.github.com/repos/asivokon/mongooplog-alt/contents/{+path}","compare_url":"https://api.github.com/repos/asivokon/mongooplog-alt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asivokon/mongooplog-alt/merges","archive_url":"https://api.github.com/repos/asivokon/mongooplog-alt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asivokon/mongooplog-alt/downloads","issues_url":"https://api.github.com/repos/asivokon/mongooplog-alt/issues{/number}","pulls_url":"https://api.github.com/repos/asivokon/mongooplog-alt/pulls{/number}","milestones_url":"https://api.github.com/repos/asivokon/mongooplog-alt/milestones{/number}","notifications_url":"https://api.github.com/repos/asivokon/mongooplog-alt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asivokon/mongooplog-alt/labels{/name}","releases_url":"https://api.github.com/repos/asivokon/mongooplog-alt/releases{/id}","created_at":"2013-01-12T17:35:12Z","updated_at":"2014-02-12T18:19:02Z","pushed_at":"2014-02-12T18:19:02Z","git_url":"git://github.com/asivokon/mongooplog-alt.git","ssh_url":"git@github.com:asivokon/mongooplog-alt.git","clone_url":"https://github.com/asivokon/mongooplog-alt.git","svn_url":"https://github.com/asivokon/mongooplog-alt","homepage":null,"size":151,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":5,"forks":1,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/asivokon/mongooplog-alt/pulls/1"},"html":{"href":"https://github.com/asivokon/mongooplog-alt/pull/1"},"issue":{"href":"https://api.github.com/repos/asivokon/mongooplog-alt/issues/1"},"comments":{"href":"https://api.github.com/repos/asivokon/mongooplog-alt/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/asivokon/mongooplog-alt/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/asivokon/mongooplog-alt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/asivokon/mongooplog-alt/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/asivokon/mongooplog-alt/statuses/3259dbeba7a3a396ebb352d20864353466de14fe"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":2,"review_comments":0,"commits":23,"additions":124,"deletions":77,"changed_files":1}}