{"action":"closed","number":8,"pull_request":{"url":"https://api.github.com/repos/trustly/pg_trivialreplay/pulls/8","id":86733467,"html_url":"https://github.com/trustly/pg_trivialreplay/pull/8","diff_url":"https://github.com/trustly/pg_trivialreplay/pull/8.diff","patch_url":"https://github.com/trustly/pg_trivialreplay/pull/8.patch","issue_url":"https://api.github.com/repos/trustly/pg_trivialreplay/issues/8","number":8,"state":"closed","locked":false,"title":"Implement transaction batching","user":{"login":"mhagander","id":174657,"avatar_url":"https://avatars.githubusercontent.com/u/174657?v=3","gravatar_id":"","url":"https://api.github.com/users/mhagander","html_url":"https://github.com/mhagander","followers_url":"https://api.github.com/users/mhagander/followers","following_url":"https://api.github.com/users/mhagander/following{/other_user}","gists_url":"https://api.github.com/users/mhagander/gists{/gist_id}","starred_url":"https://api.github.com/users/mhagander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhagander/subscriptions","organizations_url":"https://api.github.com/users/mhagander/orgs","repos_url":"https://api.github.com/users/mhagander/repos","events_url":"https://api.github.com/users/mhagander/events{/privacy}","received_events_url":"https://api.github.com/users/mhagander/received_events","type":"User","site_admin":false},"body":"Using -b we can batch multiple transactions on the origin before we\r\ncommit them on the target server. This also includes not updating the\r\ncurrent position as often as before.\r\n\r\nNote that when doing this things may be left uncommitted on the standby\r\nif the origin suddenly stops sending data. In that case, it's\r\nrecommended to restart pg_trivialreplay with a batch size of 1 to catch\r\nup.","created_at":"2016-09-26T12:32:22Z","updated_at":"2016-09-26T12:45:52Z","closed_at":"2016-09-26T12:45:52Z","merged_at":"2016-09-26T12:45:52Z","merge_commit_sha":"dd5114139d44a7a9fb47e6d6500110fabd685019","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/trustly/pg_trivialreplay/pulls/8/commits","review_comments_url":"https://api.github.com/repos/trustly/pg_trivialreplay/pulls/8/comments","review_comment_url":"https://api.github.com/repos/trustly/pg_trivialreplay/pulls/comments{/number}","comments_url":"https://api.github.com/repos/trustly/pg_trivialreplay/issues/8/comments","statuses_url":"https://api.github.com/repos/trustly/pg_trivialreplay/statuses/4cf6522396967dbcbbd53dd524149db13088caa7","head":{"label":"trustly:xact_batch","ref":"xact_batch","sha":"4cf6522396967dbcbbd53dd524149db13088caa7","user":{"login":"trustly","id":1732317,"avatar_url":"https://avatars.githubusercontent.com/u/1732317?v=3","gravatar_id":"","url":"https://api.github.com/users/trustly","html_url":"https://github.com/trustly","followers_url":"https://api.github.com/users/trustly/followers","following_url":"https://api.github.com/users/trustly/following{/other_user}","gists_url":"https://api.github.com/users/trustly/gists{/gist_id}","starred_url":"https://api.github.com/users/trustly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trustly/subscriptions","organizations_url":"https://api.github.com/users/trustly/orgs","repos_url":"https://api.github.com/users/trustly/repos","events_url":"https://api.github.com/users/trustly/events{/privacy}","received_events_url":"https://api.github.com/users/trustly/received_events","type":"Organization","site_admin":false},"repo":{"id":50430230,"name":"pg_trivialreplay","full_name":"trustly/pg_trivialreplay","owner":{"login":"trustly","id":1732317,"avatar_url":"https://avatars.githubusercontent.com/u/1732317?v=3","gravatar_id":"","url":"https://api.github.com/users/trustly","html_url":"https://github.com/trustly","followers_url":"https://api.github.com/users/trustly/followers","following_url":"https://api.github.com/users/trustly/following{/other_user}","gists_url":"https://api.github.com/users/trustly/gists{/gist_id}","starred_url":"https://api.github.com/users/trustly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trustly/subscriptions","organizations_url":"https://api.github.com/users/trustly/orgs","repos_url":"https://api.github.com/users/trustly/repos","events_url":"https://api.github.com/users/trustly/events{/privacy}","received_events_url":"https://api.github.com/users/trustly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/trustly/pg_trivialreplay","description":"","fork":false,"url":"https://api.github.com/repos/trustly/pg_trivialreplay","forks_url":"https://api.github.com/repos/trustly/pg_trivialreplay/forks","keys_url":"https://api.github.com/repos/trustly/pg_trivialreplay/keys{/key_id}","collaborators_url":"https://api.github.com/repos/trustly/pg_trivialreplay/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/trustly/pg_trivialreplay/teams","hooks_url":"https://api.github.com/repos/trustly/pg_trivialreplay/hooks","issue_events_url":"https://api.github.com/repos/trustly/pg_trivialreplay/issues/events{/number}","events_url":"https://api.github.com/repos/trustly/pg_trivialreplay/events","assignees_url":"https://api.github.com/repos/trustly/pg_trivialreplay/assignees{/user}","branches_url":"https://api.github.com/repos/trustly/pg_trivialreplay/branches{/branch}","tags_url":"https://api.github.com/repos/trustly/pg_trivialreplay/tags","blobs_url":"https://api.github.com/repos/trustly/pg_trivialreplay/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/trustly/pg_trivialreplay/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/trustly/pg_trivialreplay/git/refs{/sha}","trees_url":"https://api.github.com/repos/trustly/pg_trivialreplay/git/trees{/sha}","statuses_url":"https://api.github.com/repos/trustly/pg_trivialreplay/statuses/{sha}","languages_url":"https://api.github.com/repos/trustly/pg_trivialreplay/languages","stargazers_url":"https://api.github.com/repos/trustly/pg_trivialreplay/stargazers","contributors_url":"https://api.github.com/repos/trustly/pg_trivialreplay/contributors","subscribers_url":"https://api.github.com/repos/trustly/pg_trivialreplay/subscribers","subscription_url":"https://api.github.com/repos/trustly/pg_trivialreplay/subscription","commits_url":"https://api.github.com/repos/trustly/pg_trivialreplay/commits{/sha}","git_commits_url":"https://api.github.com/repos/trustly/pg_trivialreplay/git/commits{/sha}","comments_url":"https://api.github.com/repos/trustly/pg_trivialreplay/comments{/number}","issue_comment_url":"https://api.github.com/repos/trustly/pg_trivialreplay/issues/comments{/number}","contents_url":"https://api.github.com/repos/trustly/pg_trivialreplay/contents/{+path}","compare_url":"https://api.github.com/repos/trustly/pg_trivialreplay/compare/{base}...{head}","merges_url":"https://api.github.com/repos/trustly/pg_trivialreplay/merges","archive_url":"https://api.github.com/repos/trustly/pg_trivialreplay/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/trustly/pg_trivialreplay/downloads","issues_url":"https://api.github.com/repos/trustly/pg_trivialreplay/issues{/number}","pulls_url":"https://api.github.com/repos/trustly/pg_trivialreplay/pulls{/number}","milestones_url":"https://api.github.com/repos/trustly/pg_trivialreplay/milestones{/number}","notifications_url":"https://api.github.com/repos/trustly/pg_trivialreplay/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/trustly/pg_trivialreplay/labels{/name}","releases_url":"https://api.github.com/repos/trustly/pg_trivialreplay/releases{/id}","deployments_url":"https://api.github.com/repos/trustly/pg_trivialreplay/deployments","created_at":"2016-01-26T13:27:47Z","updated_at":"2016-02-05T16:34:38Z","pushed_at":"2016-09-26T12:45:52Z","git_url":"git://github.com/trustly/pg_trivialreplay.git","ssh_url":"git@github.com:trustly/pg_trivialreplay.git","clone_url":"https://github.com/trustly/pg_trivialreplay.git","svn_url":"https://github.com/trustly/pg_trivialreplay","homepage":null,"size":35,"stargazers_count":2,"watchers_count":2,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":2,"default_branch":"master"}},"base":{"label":"trustly:master","ref":"master","sha":"aa749d3bdded398aebfb74e691d6145ba79741ca","user":{"login":"trustly","id":1732317,"avatar_url":"https://avatars.githubusercontent.com/u/1732317?v=3","gravatar_id":"","url":"https://api.github.com/users/trustly","html_url":"https://github.com/trustly","followers_url":"https://api.github.com/users/trustly/followers","following_url":"https://api.github.com/users/trustly/following{/other_user}","gists_url":"https://api.github.com/users/trustly/gists{/gist_id}","starred_url":"https://api.github.com/users/trustly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trustly/subscriptions","organizations_url":"https://api.github.com/users/trustly/orgs","repos_url":"https://api.github.com/users/trustly/repos","events_url":"https://api.github.com/users/trustly/events{/privacy}","received_events_url":"https://api.github.com/users/trustly/received_events","type":"Organization","site_admin":false},"repo":{"id":50430230,"name":"pg_trivialreplay","full_name":"trustly/pg_trivialreplay","owner":{"login":"trustly","id":1732317,"avatar_url":"https://avatars.githubusercontent.com/u/1732317?v=3","gravatar_id":"","url":"https://api.github.com/users/trustly","html_url":"https://github.com/trustly","followers_url":"https://api.github.com/users/trustly/followers","following_url":"https://api.github.com/users/trustly/following{/other_user}","gists_url":"https://api.github.com/users/trustly/gists{/gist_id}","starred_url":"https://api.github.com/users/trustly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trustly/subscriptions","organizations_url":"https://api.github.com/users/trustly/orgs","repos_url":"https://api.github.com/users/trustly/repos","events_url":"https://api.github.com/users/trustly/events{/privacy}","received_events_url":"https://api.github.com/users/trustly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/trustly/pg_trivialreplay","description":"","fork":false,"url":"https://api.github.com/repos/trustly/pg_trivialreplay","forks_url":"https://api.github.com/repos/trustly/pg_trivialreplay/forks","keys_url":"https://api.github.com/repos/trustly/pg_trivialreplay/keys{/key_id}","collaborators_url":"https://api.github.com/repos/trustly/pg_trivialreplay/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/trustly/pg_trivialreplay/teams","hooks_url":"https://api.github.com/repos/trustly/pg_trivialreplay/hooks","issue_events_url":"https://api.github.com/repos/trustly/pg_trivialreplay/issues/events{/number}","events_url":"https://api.github.com/repos/trustly/pg_trivialreplay/events","assignees_url":"https://api.github.com/repos/trustly/pg_trivialreplay/assignees{/user}","branches_url":"https://api.github.com/repos/trustly/pg_trivialreplay/branches{/branch}","tags_url":"https://api.github.com/repos/trustly/pg_trivialreplay/tags","blobs_url":"https://api.github.com/repos/trustly/pg_trivialreplay/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/trustly/pg_trivialreplay/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/trustly/pg_trivialreplay/git/refs{/sha}","trees_url":"https://api.github.com/repos/trustly/pg_trivialreplay/git/trees{/sha}","statuses_url":"https://api.github.com/repos/trustly/pg_trivialreplay/statuses/{sha}","languages_url":"https://api.github.com/repos/trustly/pg_trivialreplay/languages","stargazers_url":"https://api.github.com/repos/trustly/pg_trivialreplay/stargazers","contributors_url":"https://api.github.com/repos/trustly/pg_trivialreplay/contributors","subscribers_url":"https://api.github.com/repos/trustly/pg_trivialreplay/subscribers","subscription_url":"https://api.github.com/repos/trustly/pg_trivialreplay/subscription","commits_url":"https://api.github.com/repos/trustly/pg_trivialreplay/commits{/sha}","git_commits_url":"https://api.github.com/repos/trustly/pg_trivialreplay/git/commits{/sha}","comments_url":"https://api.github.com/repos/trustly/pg_trivialreplay/comments{/number}","issue_comment_url":"https://api.github.com/repos/trustly/pg_trivialreplay/issues/comments{/number}","contents_url":"https://api.github.com/repos/trustly/pg_trivialreplay/contents/{+path}","compare_url":"https://api.github.com/repos/trustly/pg_trivialreplay/compare/{base}...{head}","merges_url":"https://api.github.com/repos/trustly/pg_trivialreplay/merges","archive_url":"https://api.github.com/repos/trustly/pg_trivialreplay/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/trustly/pg_trivialreplay/downloads","issues_url":"https://api.github.com/repos/trustly/pg_trivialreplay/issues{/number}","pulls_url":"https://api.github.com/repos/trustly/pg_trivialreplay/pulls{/number}","milestones_url":"https://api.github.com/repos/trustly/pg_trivialreplay/milestones{/number}","notifications_url":"https://api.github.com/repos/trustly/pg_trivialreplay/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/trustly/pg_trivialreplay/labels{/name}","releases_url":"https://api.github.com/repos/trustly/pg_trivialreplay/releases{/id}","deployments_url":"https://api.github.com/repos/trustly/pg_trivialreplay/deployments","created_at":"2016-01-26T13:27:47Z","updated_at":"2016-02-05T16:34:38Z","pushed_at":"2016-09-26T12:45:52Z","git_url":"git://github.com/trustly/pg_trivialreplay.git","ssh_url":"git@github.com:trustly/pg_trivialreplay.git","clone_url":"https://github.com/trustly/pg_trivialreplay.git","svn_url":"https://github.com/trustly/pg_trivialreplay","homepage":null,"size":35,"stargazers_count":2,"watchers_count":2,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/trustly/pg_trivialreplay/pulls/8"},"html":{"href":"https://github.com/trustly/pg_trivialreplay/pull/8"},"issue":{"href":"https://api.github.com/repos/trustly/pg_trivialreplay/issues/8"},"comments":{"href":"https://api.github.com/repos/trustly/pg_trivialreplay/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/trustly/pg_trivialreplay/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/trustly/pg_trivialreplay/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/trustly/pg_trivialreplay/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/trustly/pg_trivialreplay/statuses/4cf6522396967dbcbbd53dd524149db13088caa7"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"mhagander","id":174657,"avatar_url":"https://avatars.githubusercontent.com/u/174657?v=3","gravatar_id":"","url":"https://api.github.com/users/mhagander","html_url":"https://github.com/mhagander","followers_url":"https://api.github.com/users/mhagander/followers","following_url":"https://api.github.com/users/mhagander/following{/other_user}","gists_url":"https://api.github.com/users/mhagander/gists{/gist_id}","starred_url":"https://api.github.com/users/mhagander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhagander/subscriptions","organizations_url":"https://api.github.com/users/mhagander/orgs","repos_url":"https://api.github.com/users/mhagander/repos","events_url":"https://api.github.com/users/mhagander/events{/privacy}","received_events_url":"https://api.github.com/users/mhagander/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":55,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"mhagander"}}