{"action":"closed","number":148,"pull_request":{"url":"https://api.github.com/repos/swiftstack/1space/pulls/148","id":201088149,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxMDg4MTQ5","html_url":"https://github.com/swiftstack/1space/pull/148","diff_url":"https://github.com/swiftstack/1space/pull/148.diff","patch_url":"https://github.com/swiftstack/1space/pull/148.patch","issue_url":"https://api.github.com/repos/swiftstack/1space/issues/148","number":148,"state":"closed","locked":false,"title":"Migrator: report the size of copied objects.","user":{"login":"timuralp","id":703870,"node_id":"MDQ6VXNlcjcwMzg3MA==","avatar_url":"https://avatars2.githubusercontent.com/u/703870?v=4","gravatar_id":"","url":"https://api.github.com/users/timuralp","html_url":"https://github.com/timuralp","followers_url":"https://api.github.com/users/timuralp/followers","following_url":"https://api.github.com/users/timuralp/following{/other_user}","gists_url":"https://api.github.com/users/timuralp/gists{/gist_id}","starred_url":"https://api.github.com/users/timuralp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timuralp/subscriptions","organizations_url":"https://api.github.com/users/timuralp/orgs","repos_url":"https://api.github.com/users/timuralp/repos","events_url":"https://api.github.com/users/timuralp/events{/privacy}","received_events_url":"https://api.github.com/users/timuralp/received_events","type":"User","site_admin":false},"body":"When the migrator copies objects, aside from reporting the total\r\nnumbers, we should try to keep track of their size. This allows\r\nreasoning about the data throughput when trying to understand the\r\nnetwork/disk utilization by the migrator. The change adds two entries to\r\nthe status files: bytes_count and last_bytes_count. They are updated on\r\neach pass.\r\n\r\nTo be able to keep track of the size of the objects uploaded and a more\r\naccurate count of total work, the counter tracking has been moved into\r\nthe coroutines.","created_at":"2018-07-12T18:31:36Z","updated_at":"2018-07-24T21:54:58Z","closed_at":"2018-07-24T21:54:58Z","merged_at":"2018-07-24T21:54:58Z","merge_commit_sha":"43e4ca087d24ed6d20adcdbf35a910d4d1ed0919","assignee":null,"assignees":[],"requested_reviewers":[{"login":"clayg","id":148994,"node_id":"MDQ6VXNlcjE0ODk5NA==","avatar_url":"https://avatars3.githubusercontent.com/u/148994?v=4","gravatar_id":"","url":"https://api.github.com/users/clayg","html_url":"https://github.com/clayg","followers_url":"https://api.github.com/users/clayg/followers","following_url":"https://api.github.com/users/clayg/following{/other_user}","gists_url":"https://api.github.com/users/clayg/gists{/gist_id}","starred_url":"https://api.github.com/users/clayg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clayg/subscriptions","organizations_url":"https://api.github.com/users/clayg/orgs","repos_url":"https://api.github.com/users/clayg/repos","events_url":"https://api.github.com/users/clayg/events{/privacy}","received_events_url":"https://api.github.com/users/clayg/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/swiftstack/1space/pulls/148/commits","review_comments_url":"https://api.github.com/repos/swiftstack/1space/pulls/148/comments","review_comment_url":"https://api.github.com/repos/swiftstack/1space/pulls/comments{/number}","comments_url":"https://api.github.com/repos/swiftstack/1space/issues/148/comments","statuses_url":"https://api.github.com/repos/swiftstack/1space/statuses/6d396ca0a16c948500c792b557d47d63a0329a8f","head":{"label":"swiftstack:feature/improve-migrator-stats","ref":"feature/improve-migrator-stats","sha":"6d396ca0a16c948500c792b557d47d63a0329a8f","user":{"login":"swiftstack","id":1240687,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNDA2ODc=","avatar_url":"https://avatars1.githubusercontent.com/u/1240687?v=4","gravatar_id":"","url":"https://api.github.com/users/swiftstack","html_url":"https://github.com/swiftstack","followers_url":"https://api.github.com/users/swiftstack/followers","following_url":"https://api.github.com/users/swiftstack/following{/other_user}","gists_url":"https://api.github.com/users/swiftstack/gists{/gist_id}","starred_url":"https://api.github.com/users/swiftstack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swiftstack/subscriptions","organizations_url":"https://api.github.com/users/swiftstack/orgs","repos_url":"https://api.github.com/users/swiftstack/repos","events_url":"https://api.github.com/users/swiftstack/events{/privacy}","received_events_url":"https://api.github.com/users/swiftstack/received_events","type":"Organization","site_admin":false},"repo":{"id":58976963,"node_id":"MDEwOlJlcG9zaXRvcnk1ODk3Njk2Mw==","name":"1space","full_name":"swiftstack/1space","owner":{"login":"swiftstack","id":1240687,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNDA2ODc=","avatar_url":"https://avatars1.githubusercontent.com/u/1240687?v=4","gravatar_id":"","url":"https://api.github.com/users/swiftstack","html_url":"https://github.com/swiftstack","followers_url":"https://api.github.com/users/swiftstack/followers","following_url":"https://api.github.com/users/swiftstack/following{/other_user}","gists_url":"https://api.github.com/users/swiftstack/gists{/gist_id}","starred_url":"https://api.github.com/users/swiftstack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swiftstack/subscriptions","organizations_url":"https://api.github.com/users/swiftstack/orgs","repos_url":"https://api.github.com/users/swiftstack/repos","events_url":"https://api.github.com/users/swiftstack/events{/privacy}","received_events_url":"https://api.github.com/users/swiftstack/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/swiftstack/1space","description":"1space enables a single object namespace between object storage locations. 1space enables data lifecycling, migration, and data protection. 1space integrates with OpenStack Swift. The 1space connector is a container that runs in the cloud.","fork":false,"url":"https://api.github.com/repos/swiftstack/1space","forks_url":"https://api.github.com/repos/swiftstack/1space/forks","keys_url":"https://api.github.com/repos/swiftstack/1space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swiftstack/1space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swiftstack/1space/teams","hooks_url":"https://api.github.com/repos/swiftstack/1space/hooks","issue_events_url":"https://api.github.com/repos/swiftstack/1space/issues/events{/number}","events_url":"https://api.github.com/repos/swiftstack/1space/events","assignees_url":"https://api.github.com/repos/swiftstack/1space/assignees{/user}","branches_url":"https://api.github.com/repos/swiftstack/1space/branches{/branch}","tags_url":"https://api.github.com/repos/swiftstack/1space/tags","blobs_url":"https://api.github.com/repos/swiftstack/1space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swiftstack/1space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swiftstack/1space/git/refs{/sha}","trees_url":"https://api.github.com/repos/swiftstack/1space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swiftstack/1space/statuses/{sha}","languages_url":"https://api.github.com/repos/swiftstack/1space/languages","stargazers_url":"https://api.github.com/repos/swiftstack/1space/stargazers","contributors_url":"https://api.github.com/repos/swiftstack/1space/contributors","subscribers_url":"https://api.github.com/repos/swiftstack/1space/subscribers","subscription_url":"https://api.github.com/repos/swiftstack/1space/subscription","commits_url":"https://api.github.com/repos/swiftstack/1space/commits{/sha}","git_commits_url":"https://api.github.com/repos/swiftstack/1space/git/commits{/sha}","comments_url":"https://api.github.com/repos/swiftstack/1space/comments{/number}","issue_comment_url":"https://api.github.com/repos/swiftstack/1space/issues/comments{/number}","contents_url":"https://api.github.com/repos/swiftstack/1space/contents/{+path}","compare_url":"https://api.github.com/repos/swiftstack/1space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swiftstack/1space/merges","archive_url":"https://api.github.com/repos/swiftstack/1space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swiftstack/1space/downloads","issues_url":"https://api.github.com/repos/swiftstack/1space/issues{/number}","pulls_url":"https://api.github.com/repos/swiftstack/1space/pulls{/number}","milestones_url":"https://api.github.com/repos/swiftstack/1space/milestones{/number}","notifications_url":"https://api.github.com/repos/swiftstack/1space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swiftstack/1space/labels{/name}","releases_url":"https://api.github.com/repos/swiftstack/1space/releases{/id}","deployments_url":"https://api.github.com/repos/swiftstack/1space/deployments","created_at":"2016-05-17T00:20:29Z","updated_at":"2018-07-24T21:36:42Z","pushed_at":"2018-07-24T21:54:58Z","git_url":"git://github.com/swiftstack/1space.git","ssh_url":"git@github.com:swiftstack/1space.git","clone_url":"https://github.com/swiftstack/1space.git","svn_url":"https://github.com/swiftstack/1space","homepage":"","size":1059,"stargazers_count":9,"watchers_count":9,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":4,"open_issues":4,"watchers":9,"default_branch":"master"}},"base":{"label":"swiftstack:master","ref":"master","sha":"50043665232390df12838787d62e46dbb085ed98","user":{"login":"swiftstack","id":1240687,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNDA2ODc=","avatar_url":"https://avatars1.githubusercontent.com/u/1240687?v=4","gravatar_id":"","url":"https://api.github.com/users/swiftstack","html_url":"https://github.com/swiftstack","followers_url":"https://api.github.com/users/swiftstack/followers","following_url":"https://api.github.com/users/swiftstack/following{/other_user}","gists_url":"https://api.github.com/users/swiftstack/gists{/gist_id}","starred_url":"https://api.github.com/users/swiftstack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swiftstack/subscriptions","organizations_url":"https://api.github.com/users/swiftstack/orgs","repos_url":"https://api.github.com/users/swiftstack/repos","events_url":"https://api.github.com/users/swiftstack/events{/privacy}","received_events_url":"https://api.github.com/users/swiftstack/received_events","type":"Organization","site_admin":false},"repo":{"id":58976963,"node_id":"MDEwOlJlcG9zaXRvcnk1ODk3Njk2Mw==","name":"1space","full_name":"swiftstack/1space","owner":{"login":"swiftstack","id":1240687,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNDA2ODc=","avatar_url":"https://avatars1.githubusercontent.com/u/1240687?v=4","gravatar_id":"","url":"https://api.github.com/users/swiftstack","html_url":"https://github.com/swiftstack","followers_url":"https://api.github.com/users/swiftstack/followers","following_url":"https://api.github.com/users/swiftstack/following{/other_user}","gists_url":"https://api.github.com/users/swiftstack/gists{/gist_id}","starred_url":"https://api.github.com/users/swiftstack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swiftstack/subscriptions","organizations_url":"https://api.github.com/users/swiftstack/orgs","repos_url":"https://api.github.com/users/swiftstack/repos","events_url":"https://api.github.com/users/swiftstack/events{/privacy}","received_events_url":"https://api.github.com/users/swiftstack/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/swiftstack/1space","description":"1space enables a single object namespace between object storage locations. 1space enables data lifecycling, migration, and data protection. 1space integrates with OpenStack Swift. The 1space connector is a container that runs in the cloud.","fork":false,"url":"https://api.github.com/repos/swiftstack/1space","forks_url":"https://api.github.com/repos/swiftstack/1space/forks","keys_url":"https://api.github.com/repos/swiftstack/1space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swiftstack/1space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swiftstack/1space/teams","hooks_url":"https://api.github.com/repos/swiftstack/1space/hooks","issue_events_url":"https://api.github.com/repos/swiftstack/1space/issues/events{/number}","events_url":"https://api.github.com/repos/swiftstack/1space/events","assignees_url":"https://api.github.com/repos/swiftstack/1space/assignees{/user}","branches_url":"https://api.github.com/repos/swiftstack/1space/branches{/branch}","tags_url":"https://api.github.com/repos/swiftstack/1space/tags","blobs_url":"https://api.github.com/repos/swiftstack/1space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swiftstack/1space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swiftstack/1space/git/refs{/sha}","trees_url":"https://api.github.com/repos/swiftstack/1space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swiftstack/1space/statuses/{sha}","languages_url":"https://api.github.com/repos/swiftstack/1space/languages","stargazers_url":"https://api.github.com/repos/swiftstack/1space/stargazers","contributors_url":"https://api.github.com/repos/swiftstack/1space/contributors","subscribers_url":"https://api.github.com/repos/swiftstack/1space/subscribers","subscription_url":"https://api.github.com/repos/swiftstack/1space/subscription","commits_url":"https://api.github.com/repos/swiftstack/1space/commits{/sha}","git_commits_url":"https://api.github.com/repos/swiftstack/1space/git/commits{/sha}","comments_url":"https://api.github.com/repos/swiftstack/1space/comments{/number}","issue_comment_url":"https://api.github.com/repos/swiftstack/1space/issues/comments{/number}","contents_url":"https://api.github.com/repos/swiftstack/1space/contents/{+path}","compare_url":"https://api.github.com/repos/swiftstack/1space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swiftstack/1space/merges","archive_url":"https://api.github.com/repos/swiftstack/1space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swiftstack/1space/downloads","issues_url":"https://api.github.com/repos/swiftstack/1space/issues{/number}","pulls_url":"https://api.github.com/repos/swiftstack/1space/pulls{/number}","milestones_url":"https://api.github.com/repos/swiftstack/1space/milestones{/number}","notifications_url":"https://api.github.com/repos/swiftstack/1space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swiftstack/1space/labels{/name}","releases_url":"https://api.github.com/repos/swiftstack/1space/releases{/id}","deployments_url":"https://api.github.com/repos/swiftstack/1space/deployments","created_at":"2016-05-17T00:20:29Z","updated_at":"2018-07-24T21:36:42Z","pushed_at":"2018-07-24T21:54:58Z","git_url":"git://github.com/swiftstack/1space.git","ssh_url":"git@github.com:swiftstack/1space.git","clone_url":"https://github.com/swiftstack/1space.git","svn_url":"https://github.com/swiftstack/1space","homepage":"","size":1059,"stargazers_count":9,"watchers_count":9,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":4,"open_issues":4,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/swiftstack/1space/pulls/148"},"html":{"href":"https://github.com/swiftstack/1space/pull/148"},"issue":{"href":"https://api.github.com/repos/swiftstack/1space/issues/148"},"comments":{"href":"https://api.github.com/repos/swiftstack/1space/issues/148/comments"},"review_comments":{"href":"https://api.github.com/repos/swiftstack/1space/pulls/148/comments"},"review_comment":{"href":"https://api.github.com/repos/swiftstack/1space/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/swiftstack/1space/pulls/148/commits"},"statuses":{"href":"https://api.github.com/repos/swiftstack/1space/statuses/6d396ca0a16c948500c792b557d47d63a0329a8f"}},"author_association":"COLLABORATOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"timuralp","id":703870,"node_id":"MDQ6VXNlcjcwMzg3MA==","avatar_url":"https://avatars2.githubusercontent.com/u/703870?v=4","gravatar_id":"","url":"https://api.github.com/users/timuralp","html_url":"https://github.com/timuralp","followers_url":"https://api.github.com/users/timuralp/followers","following_url":"https://api.github.com/users/timuralp/following{/other_user}","gists_url":"https://api.github.com/users/timuralp/gists{/gist_id}","starred_url":"https://api.github.com/users/timuralp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timuralp/subscriptions","organizations_url":"https://api.github.com/users/timuralp/orgs","repos_url":"https://api.github.com/users/timuralp/repos","events_url":"https://api.github.com/users/timuralp/events{/privacy}","received_events_url":"https://api.github.com/users/timuralp/received_events","type":"User","site_admin":false},"comments":1,"review_comments":4,"maintainer_can_modify":false,"commits":1,"additions":283,"deletions":76,"changed_files":4}}
{"actor":{"display_login":"timuralp"}}