{"action":"created","comment":{"url":"https://api.github.com/repos/ceph/ceph/pulls/comments/46016351","id":46016351,"diff_hunk":"@@ -1158,6 +1158,11 @@ int librados::IoCtx::remove(const std::string& oid)\n   object_t obj(oid);\n   return io_ctx_impl->remove(obj);\n }\n+int librados::IoCtx::remove(const std::string& oid, int flags)","path":"src/librados/librados.cc","position":4,"original_position":4,"commit_id":"cc9ca2cb46bd338187e495526c00e103027a6b5a","original_commit_id":"cc9ca2cb46bd338187e495526c00e103027a6b5a","user":{"login":"tchaikov","id":59071,"avatar_url":"https://avatars.githubusercontent.com/u/59071?v=3","gravatar_id":"","url":"https://api.github.com/users/tchaikov","html_url":"https://github.com/tchaikov","followers_url":"https://api.github.com/users/tchaikov/followers","following_url":"https://api.github.com/users/tchaikov/following{/other_user}","gists_url":"https://api.github.com/users/tchaikov/gists{/gist_id}","starred_url":"https://api.github.com/users/tchaikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tchaikov/subscriptions","organizations_url":"https://api.github.com/users/tchaikov/orgs","repos_url":"https://api.github.com/users/tchaikov/repos","events_url":"https://api.github.com/users/tchaikov/events{/privacy}","received_events_url":"https://api.github.com/users/tchaikov/received_events","type":"User","site_admin":false},"body":"might want to add an empty line before this line.","created_at":"2015-11-27T04:08:51Z","updated_at":"2015-11-27T04:08:51Z","html_url":"https://github.com/ceph/ceph/pull/6202#discussion_r46016351","pull_request_url":"https://api.github.com/repos/ceph/ceph/pulls/6202","_links":{"self":{"href":"https://api.github.com/repos/ceph/ceph/pulls/comments/46016351"},"html":{"href":"https://github.com/ceph/ceph/pull/6202#discussion_r46016351"},"pull_request":{"href":"https://api.github.com/repos/ceph/ceph/pulls/6202"}}},"pull_request":{"url":"https://api.github.com/repos/ceph/ceph/pulls/6202","id":47131762,"html_url":"https://github.com/ceph/ceph/pull/6202","diff_url":"https://github.com/ceph/ceph/pull/6202.diff","patch_url":"https://github.com/ceph/ceph/pull/6202.patch","issue_url":"https://api.github.com/repos/ceph/ceph/issues/6202","number":6202,"state":"open","locked":false,"title":"rados: implement rm --force option to force remove when full.","user":{"login":"cxwshawn","id":4486102,"avatar_url":"https://avatars.githubusercontent.com/u/4486102?v=3","gravatar_id":"","url":"https://api.github.com/users/cxwshawn","html_url":"https://github.com/cxwshawn","followers_url":"https://api.github.com/users/cxwshawn/followers","following_url":"https://api.github.com/users/cxwshawn/following{/other_user}","gists_url":"https://api.github.com/users/cxwshawn/gists{/gist_id}","starred_url":"https://api.github.com/users/cxwshawn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cxwshawn/subscriptions","organizations_url":"https://api.github.com/users/cxwshawn/orgs","repos_url":"https://api.github.com/users/cxwshawn/repos","events_url":"https://api.github.com/users/cxwshawn/events{/privacy}","received_events_url":"https://api.github.com/users/cxwshawn/received_events","type":"User","site_admin":false},"body":"[librados] extend remove interface, add flags parameter\r\nrados tool use the extended librados interface to implement force remove.\r\n\r\ntest: \r\nwhen cluster full, ceph -s show: 3 full osd(s)(only 3 osds in my cluster),\r\nuse:\r\n./rados -p poolname rm objname --force (delete ok)\r\nbut ./rados -p poolname rm objname will stuck.\r\n\r\nSigned-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>","created_at":"2015-10-08T09:47:11Z","updated_at":"2015-11-27T04:08:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"640335ca51451a4ecc9b863c3f29dd22c1c7eb53","assignee":{"login":"liewegas","id":433031,"avatar_url":"https://avatars.githubusercontent.com/u/433031?v=3","gravatar_id":"","url":"https://api.github.com/users/liewegas","html_url":"https://github.com/liewegas","followers_url":"https://api.github.com/users/liewegas/followers","following_url":"https://api.github.com/users/liewegas/following{/other_user}","gists_url":"https://api.github.com/users/liewegas/gists{/gist_id}","starred_url":"https://api.github.com/users/liewegas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liewegas/subscriptions","organizations_url":"https://api.github.com/users/liewegas/orgs","repos_url":"https://api.github.com/users/liewegas/repos","events_url":"https://api.github.com/users/liewegas/events{/privacy}","received_events_url":"https://api.github.com/users/liewegas/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/ceph/ceph/pulls/6202/commits","review_comments_url":"https://api.github.com/repos/ceph/ceph/pulls/6202/comments","review_comment_url":"https://api.github.com/repos/ceph/ceph/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ceph/ceph/issues/6202/comments","statuses_url":"https://api.github.com/repos/ceph/ceph/statuses/cc9ca2cb46bd338187e495526c00e103027a6b5a","head":{"label":"cxwshawn:wip-ful-fix","ref":"wip-ful-fix","sha":"cc9ca2cb46bd338187e495526c00e103027a6b5a","user":{"login":"cxwshawn","id":4486102,"avatar_url":"https://avatars.githubusercontent.com/u/4486102?v=3","gravatar_id":"","url":"https://api.github.com/users/cxwshawn","html_url":"https://github.com/cxwshawn","followers_url":"https://api.github.com/users/cxwshawn/followers","following_url":"https://api.github.com/users/cxwshawn/following{/other_user}","gists_url":"https://api.github.com/users/cxwshawn/gists{/gist_id}","starred_url":"https://api.github.com/users/cxwshawn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cxwshawn/subscriptions","organizations_url":"https://api.github.com/users/cxwshawn/orgs","repos_url":"https://api.github.com/users/cxwshawn/repos","events_url":"https://api.github.com/users/cxwshawn/events{/privacy}","received_events_url":"https://api.github.com/users/cxwshawn/received_events","type":"User","site_admin":false},"repo":{"id":38021156,"name":"ceph","full_name":"cxwshawn/ceph","owner":{"login":"cxwshawn","id":4486102,"avatar_url":"https://avatars.githubusercontent.com/u/4486102?v=3","gravatar_id":"","url":"https://api.github.com/users/cxwshawn","html_url":"https://github.com/cxwshawn","followers_url":"https://api.github.com/users/cxwshawn/followers","following_url":"https://api.github.com/users/cxwshawn/following{/other_user}","gists_url":"https://api.github.com/users/cxwshawn/gists{/gist_id}","starred_url":"https://api.github.com/users/cxwshawn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cxwshawn/subscriptions","organizations_url":"https://api.github.com/users/cxwshawn/orgs","repos_url":"https://api.github.com/users/cxwshawn/repos","events_url":"https://api.github.com/users/cxwshawn/events{/privacy}","received_events_url":"https://api.github.com/users/cxwshawn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cxwshawn/ceph","description":"Ceph is a distributed object, block, and file storage platform ","fork":true,"url":"https://api.github.com/repos/cxwshawn/ceph","forks_url":"https://api.github.com/repos/cxwshawn/ceph/forks","keys_url":"https://api.github.com/repos/cxwshawn/ceph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cxwshawn/ceph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cxwshawn/ceph/teams","hooks_url":"https://api.github.com/repos/cxwshawn/ceph/hooks","issue_events_url":"https://api.github.com/repos/cxwshawn/ceph/issues/events{/number}","events_url":"https://api.github.com/repos/cxwshawn/ceph/events","assignees_url":"https://api.github.com/repos/cxwshawn/ceph/assignees{/user}","branches_url":"https://api.github.com/repos/cxwshawn/ceph/branches{/branch}","tags_url":"https://api.github.com/repos/cxwshawn/ceph/tags","blobs_url":"https://api.github.com/repos/cxwshawn/ceph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cxwshawn/ceph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cxwshawn/ceph/git/refs{/sha}","trees_url":"https://api.github.com/repos/cxwshawn/ceph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cxwshawn/ceph/statuses/{sha}","languages_url":"https://api.github.com/repos/cxwshawn/ceph/languages","stargazers_url":"https://api.github.com/repos/cxwshawn/ceph/stargazers","contributors_url":"https://api.github.com/repos/cxwshawn/ceph/contributors","subscribers_url":"https://api.github.com/repos/cxwshawn/ceph/subscribers","subscription_url":"https://api.github.com/repos/cxwshawn/ceph/subscription","commits_url":"https://api.github.com/repos/cxwshawn/ceph/commits{/sha}","git_commits_url":"https://api.github.com/repos/cxwshawn/ceph/git/commits{/sha}","comments_url":"https://api.github.com/repos/cxwshawn/ceph/comments{/number}","issue_comment_url":"https://api.github.com/repos/cxwshawn/ceph/issues/comments{/number}","contents_url":"https://api.github.com/repos/cxwshawn/ceph/contents/{+path}","compare_url":"https://api.github.com/repos/cxwshawn/ceph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cxwshawn/ceph/merges","archive_url":"https://api.github.com/repos/cxwshawn/ceph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cxwshawn/ceph/downloads","issues_url":"https://api.github.com/repos/cxwshawn/ceph/issues{/number}","pulls_url":"https://api.github.com/repos/cxwshawn/ceph/pulls{/number}","milestones_url":"https://api.github.com/repos/cxwshawn/ceph/milestones{/number}","notifications_url":"https://api.github.com/repos/cxwshawn/ceph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cxwshawn/ceph/labels{/name}","releases_url":"https://api.github.com/repos/cxwshawn/ceph/releases{/id}","created_at":"2015-06-25T01:38:43Z","updated_at":"2015-06-25T01:38:57Z","pushed_at":"2015-11-26T02:26:33Z","git_url":"git://github.com/cxwshawn/ceph.git","ssh_url":"git@github.com:cxwshawn/ceph.git","clone_url":"https://github.com/cxwshawn/ceph.git","svn_url":"https://github.com/cxwshawn/ceph","homepage":"http://ceph.com","size":141699,"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":"891e985f7335c37530106672761fcb260a0ae638","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-11-26T17:05:40Z","pushed_at":"2015-11-27T03:05:14Z","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":169387,"stargazers_count":1684,"watchers_count":1684,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":999,"mirror_url":null,"open_issues_count":251,"forks":999,"open_issues":251,"watchers":1684,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ceph/ceph/pulls/6202"},"html":{"href":"https://github.com/ceph/ceph/pull/6202"},"issue":{"href":"https://api.github.com/repos/ceph/ceph/issues/6202"},"comments":{"href":"https://api.github.com/repos/ceph/ceph/issues/6202/comments"},"review_comments":{"href":"https://api.github.com/repos/ceph/ceph/pulls/6202/comments"},"review_comment":{"href":"https://api.github.com/repos/ceph/ceph/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ceph/ceph/pulls/6202/commits"},"statuses":{"href":"https://api.github.com/repos/ceph/ceph/statuses/cc9ca2cb46bd338187e495526c00e103027a6b5a"}}}}