{"action":"closed","number":6247,"pull_request":{"url":"https://api.github.com/repos/ceph/ceph/pulls/6247","id":47539599,"html_url":"https://github.com/ceph/ceph/pull/6247","diff_url":"https://github.com/ceph/ceph/pull/6247.diff","patch_url":"https://github.com/ceph/ceph/pull/6247.patch","issue_url":"https://api.github.com/repos/ceph/ceph/issues/6247","number":6247,"state":"closed","locked":false,"title":"rgw: remove bucket index when delete bucket","user":{"login":"zhouyuan","id":43917,"avatar_url":"https://avatars.githubusercontent.com/u/43917?v=3","gravatar_id":"","url":"https://api.github.com/users/zhouyuan","html_url":"https://github.com/zhouyuan","followers_url":"https://api.github.com/users/zhouyuan/followers","following_url":"https://api.github.com/users/zhouyuan/following{/other_user}","gists_url":"https://api.github.com/users/zhouyuan/gists{/gist_id}","starred_url":"https://api.github.com/users/zhouyuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhouyuan/subscriptions","organizations_url":"https://api.github.com/users/zhouyuan/orgs","repos_url":"https://api.github.com/users/zhouyuan/repos","events_url":"https://api.github.com/users/zhouyuan/events{/privacy}","received_events_url":"https://api.github.com/users/zhouyuan/received_events","type":"User","site_admin":false},"body":"Bucket index object is left there when deleteing bucket. This will\r\nresult in many zero-sized objects in the cluster, especially if\r\nbucket index sharding feature was enabled.\r\n\r\nThis patch removes the bucket index object(s) when deleteing bucket\r\n\r\nSigned-off-by: Yuan Zhou <yuan.zhou@intel.com>","created_at":"2015-10-13T14:24:30Z","updated_at":"2015-10-14T00:13:08Z","closed_at":"2015-10-14T00:13:08Z","merged_at":null,"merge_commit_sha":"7b5a819bcd91f15a283c3b9b6a82c240033bc034","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ceph/ceph/pulls/6247/commits","review_comments_url":"https://api.github.com/repos/ceph/ceph/pulls/6247/comments","review_comment_url":"https://api.github.com/repos/ceph/ceph/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ceph/ceph/issues/6247/comments","statuses_url":"https://api.github.com/repos/ceph/ceph/statuses/c0a72d3af005cba30483d66fbe075c9a2e47bcf4","head":{"label":"zhouyuan:fix_remove_bucket_index","ref":"fix_remove_bucket_index","sha":"c0a72d3af005cba30483d66fbe075c9a2e47bcf4","user":{"login":"zhouyuan","id":43917,"avatar_url":"https://avatars.githubusercontent.com/u/43917?v=3","gravatar_id":"","url":"https://api.github.com/users/zhouyuan","html_url":"https://github.com/zhouyuan","followers_url":"https://api.github.com/users/zhouyuan/followers","following_url":"https://api.github.com/users/zhouyuan/following{/other_user}","gists_url":"https://api.github.com/users/zhouyuan/gists{/gist_id}","starred_url":"https://api.github.com/users/zhouyuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhouyuan/subscriptions","organizations_url":"https://api.github.com/users/zhouyuan/orgs","repos_url":"https://api.github.com/users/zhouyuan/repos","events_url":"https://api.github.com/users/zhouyuan/events{/privacy}","received_events_url":"https://api.github.com/users/zhouyuan/received_events","type":"User","site_admin":false},"repo":{"id":14332728,"name":"ceph","full_name":"zhouyuan/ceph","owner":{"login":"zhouyuan","id":43917,"avatar_url":"https://avatars.githubusercontent.com/u/43917?v=3","gravatar_id":"","url":"https://api.github.com/users/zhouyuan","html_url":"https://github.com/zhouyuan","followers_url":"https://api.github.com/users/zhouyuan/followers","following_url":"https://api.github.com/users/zhouyuan/following{/other_user}","gists_url":"https://api.github.com/users/zhouyuan/gists{/gist_id}","starred_url":"https://api.github.com/users/zhouyuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhouyuan/subscriptions","organizations_url":"https://api.github.com/users/zhouyuan/orgs","repos_url":"https://api.github.com/users/zhouyuan/repos","events_url":"https://api.github.com/users/zhouyuan/events{/privacy}","received_events_url":"https://api.github.com/users/zhouyuan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zhouyuan/ceph","description":"Ceph is a distributed object, block, and file storage platform ","fork":true,"url":"https://api.github.com/repos/zhouyuan/ceph","forks_url":"https://api.github.com/repos/zhouyuan/ceph/forks","keys_url":"https://api.github.com/repos/zhouyuan/ceph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zhouyuan/ceph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zhouyuan/ceph/teams","hooks_url":"https://api.github.com/repos/zhouyuan/ceph/hooks","issue_events_url":"https://api.github.com/repos/zhouyuan/ceph/issues/events{/number}","events_url":"https://api.github.com/repos/zhouyuan/ceph/events","assignees_url":"https://api.github.com/repos/zhouyuan/ceph/assignees{/user}","branches_url":"https://api.github.com/repos/zhouyuan/ceph/branches{/branch}","tags_url":"https://api.github.com/repos/zhouyuan/ceph/tags","blobs_url":"https://api.github.com/repos/zhouyuan/ceph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zhouyuan/ceph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zhouyuan/ceph/git/refs{/sha}","trees_url":"https://api.github.com/repos/zhouyuan/ceph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zhouyuan/ceph/statuses/{sha}","languages_url":"https://api.github.com/repos/zhouyuan/ceph/languages","stargazers_url":"https://api.github.com/repos/zhouyuan/ceph/stargazers","contributors_url":"https://api.github.com/repos/zhouyuan/ceph/contributors","subscribers_url":"https://api.github.com/repos/zhouyuan/ceph/subscribers","subscription_url":"https://api.github.com/repos/zhouyuan/ceph/subscription","commits_url":"https://api.github.com/repos/zhouyuan/ceph/commits{/sha}","git_commits_url":"https://api.github.com/repos/zhouyuan/ceph/git/commits{/sha}","comments_url":"https://api.github.com/repos/zhouyuan/ceph/comments{/number}","issue_comment_url":"https://api.github.com/repos/zhouyuan/ceph/issues/comments{/number}","contents_url":"https://api.github.com/repos/zhouyuan/ceph/contents/{+path}","compare_url":"https://api.github.com/repos/zhouyuan/ceph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zhouyuan/ceph/merges","archive_url":"https://api.github.com/repos/zhouyuan/ceph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zhouyuan/ceph/downloads","issues_url":"https://api.github.com/repos/zhouyuan/ceph/issues{/number}","pulls_url":"https://api.github.com/repos/zhouyuan/ceph/pulls{/number}","milestones_url":"https://api.github.com/repos/zhouyuan/ceph/milestones{/number}","notifications_url":"https://api.github.com/repos/zhouyuan/ceph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zhouyuan/ceph/labels{/name}","releases_url":"https://api.github.com/repos/zhouyuan/ceph/releases{/id}","created_at":"2013-11-12T13:21:23Z","updated_at":"2015-05-20T13:39:08Z","pushed_at":"2015-10-13T14:24:04Z","git_url":"git://github.com/zhouyuan/ceph.git","ssh_url":"git@github.com:zhouyuan/ceph.git","clone_url":"https://github.com/zhouyuan/ceph.git","svn_url":"https://github.com/zhouyuan/ceph","homepage":"http://ceph.com","size":126382,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ceph:master","ref":"master","sha":"e7b49f582b9ee058309c0c38461830216119d7d0","user":{"login":"ceph","id":1015767,"avatar_url":"https://avatars.githubusercontent.com/u/1015767?v=3","gravatar_id":"","url":"https://api.github.com/users/ceph","html_url":"https://github.com/ceph","followers_url":"https://api.github.com/users/ceph/followers","following_url":"https://api.github.com/users/ceph/following{/other_user}","gists_url":"https://api.github.com/users/ceph/gists{/gist_id}","starred_url":"https://api.github.com/users/ceph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceph/subscriptions","organizations_url":"https://api.github.com/users/ceph/orgs","repos_url":"https://api.github.com/users/ceph/repos","events_url":"https://api.github.com/users/ceph/events{/privacy}","received_events_url":"https://api.github.com/users/ceph/received_events","type":"Organization","site_admin":false},"repo":{"id":2310495,"name":"ceph","full_name":"ceph/ceph","owner":{"login":"ceph","id":1015767,"avatar_url":"https://avatars.githubusercontent.com/u/1015767?v=3","gravatar_id":"","url":"https://api.github.com/users/ceph","html_url":"https://github.com/ceph","followers_url":"https://api.github.com/users/ceph/followers","following_url":"https://api.github.com/users/ceph/following{/other_user}","gists_url":"https://api.github.com/users/ceph/gists{/gist_id}","starred_url":"https://api.github.com/users/ceph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceph/subscriptions","organizations_url":"https://api.github.com/users/ceph/orgs","repos_url":"https://api.github.com/users/ceph/repos","events_url":"https://api.github.com/users/ceph/events{/privacy}","received_events_url":"https://api.github.com/users/ceph/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ceph/ceph","description":"Ceph is a distributed object, block, and file storage platform ","fork":false,"url":"https://api.github.com/repos/ceph/ceph","forks_url":"https://api.github.com/repos/ceph/ceph/forks","keys_url":"https://api.github.com/repos/ceph/ceph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ceph/ceph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ceph/ceph/teams","hooks_url":"https://api.github.com/repos/ceph/ceph/hooks","issue_events_url":"https://api.github.com/repos/ceph/ceph/issues/events{/number}","events_url":"https://api.github.com/repos/ceph/ceph/events","assignees_url":"https://api.github.com/repos/ceph/ceph/assignees{/user}","branches_url":"https://api.github.com/repos/ceph/ceph/branches{/branch}","tags_url":"https://api.github.com/repos/ceph/ceph/tags","blobs_url":"https://api.github.com/repos/ceph/ceph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ceph/ceph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ceph/ceph/git/refs{/sha}","trees_url":"https://api.github.com/repos/ceph/ceph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ceph/ceph/statuses/{sha}","languages_url":"https://api.github.com/repos/ceph/ceph/languages","stargazers_url":"https://api.github.com/repos/ceph/ceph/stargazers","contributors_url":"https://api.github.com/repos/ceph/ceph/contributors","subscribers_url":"https://api.github.com/repos/ceph/ceph/subscribers","subscription_url":"https://api.github.com/repos/ceph/ceph/subscription","commits_url":"https://api.github.com/repos/ceph/ceph/commits{/sha}","git_commits_url":"https://api.github.com/repos/ceph/ceph/git/commits{/sha}","comments_url":"https://api.github.com/repos/ceph/ceph/comments{/number}","issue_comment_url":"https://api.github.com/repos/ceph/ceph/issues/comments{/number}","contents_url":"https://api.github.com/repos/ceph/ceph/contents/{+path}","compare_url":"https://api.github.com/repos/ceph/ceph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ceph/ceph/merges","archive_url":"https://api.github.com/repos/ceph/ceph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ceph/ceph/downloads","issues_url":"https://api.github.com/repos/ceph/ceph/issues{/number}","pulls_url":"https://api.github.com/repos/ceph/ceph/pulls{/number}","milestones_url":"https://api.github.com/repos/ceph/ceph/milestones{/number}","notifications_url":"https://api.github.com/repos/ceph/ceph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ceph/ceph/labels{/name}","releases_url":"https://api.github.com/repos/ceph/ceph/releases{/id}","created_at":"2011-09-01T21:41:26Z","updated_at":"2015-10-13T13:58:32Z","pushed_at":"2015-10-14T00:02:52Z","git_url":"git://github.com/ceph/ceph.git","ssh_url":"git@github.com:ceph/ceph.git","clone_url":"https://github.com/ceph/ceph.git","svn_url":"https://github.com/ceph/ceph","homepage":"http://ceph.com","size":518627,"stargazers_count":1593,"watchers_count":1593,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":936,"mirror_url":null,"open_issues_count":251,"forks":936,"open_issues":251,"watchers":1593,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ceph/ceph/pulls/6247"},"html":{"href":"https://github.com/ceph/ceph/pull/6247"},"issue":{"href":"https://api.github.com/repos/ceph/ceph/issues/6247"},"comments":{"href":"https://api.github.com/repos/ceph/ceph/issues/6247/comments"},"review_comments":{"href":"https://api.github.com/repos/ceph/ceph/pulls/6247/comments"},"review_comment":{"href":"https://api.github.com/repos/ceph/ceph/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ceph/ceph/pulls/6247/commits"},"statuses":{"href":"https://api.github.com/repos/ceph/ceph/statuses/c0a72d3af005cba30483d66fbe075c9a2e47bcf4"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":35,"deletions":0,"changed_files":1}}