{"action":"created","issue":{"url":"https://api.github.com/repos/ceph/ceph/issues/22379","repository_url":"https://api.github.com/repos/ceph/ceph","labels_url":"https://api.github.com/repos/ceph/ceph/issues/22379/labels{/name}","comments_url":"https://api.github.com/repos/ceph/ceph/issues/22379/comments","events_url":"https://api.github.com/repos/ceph/ceph/issues/22379/events","html_url":"https://github.com/ceph/ceph/pull/22379","id":328727617,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyMTg4MjM0","number":22379,"title":"ceph-objectstore-tool: add 'bulkrm-omap' command","user":{"login":"trociny","id":1517222,"node_id":"MDQ6VXNlcjE1MTcyMjI=","avatar_url":"https://avatars3.githubusercontent.com/u/1517222?v=4","gravatar_id":"","url":"https://api.github.com/users/trociny","html_url":"https://github.com/trociny","followers_url":"https://api.github.com/users/trociny/followers","following_url":"https://api.github.com/users/trociny/following{/other_user}","gists_url":"https://api.github.com/users/trociny/gists{/gist_id}","starred_url":"https://api.github.com/users/trociny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trociny/subscriptions","organizations_url":"https://api.github.com/users/trociny/orgs","repos_url":"https://api.github.com/users/trociny/repos","events_url":"https://api.github.com/users/trociny/events{/privacy}","received_events_url":"https://api.github.com/users/trociny/received_events","type":"User","site_admin":false},"labels":[{"id":134774006,"node_id":"MDU6TGFiZWwxMzQ3NzQwMDY=","url":"https://api.github.com/repos/ceph/ceph/labels/feature","name":"feature","color":"00ff24","default":false},{"id":199556274,"node_id":"MDU6TGFiZWwxOTk1NTYyNzQ=","url":"https://api.github.com/repos/ceph/ceph/labels/tools","name":"tools","color":"c600ff","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-02T08:56:37Z","updated_at":"2018-10-29T22:59:00Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/ceph/ceph/pulls/22379","html_url":"https://github.com/ceph/ceph/pull/22379","diff_url":"https://github.com/ceph/ceph/pull/22379.diff","patch_url":"https://github.com/ceph/ceph/pull/22379.patch"},"body":"We had a case when we needed to clean many (several thousand)  snapmapper keys. Doing this with `rm-omap` took hours."},"comment":{"url":"https://api.github.com/repos/ceph/ceph/issues/comments/434111766","html_url":"https://github.com/ceph/ceph/pull/22379#issuecomment-434111766","issue_url":"https://api.github.com/repos/ceph/ceph/issues/22379","id":434111766,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDExMTc2Ng==","user":{"login":"dzafman","id":2467610,"node_id":"MDQ6VXNlcjI0Njc2MTA=","avatar_url":"https://avatars0.githubusercontent.com/u/2467610?v=4","gravatar_id":"","url":"https://api.github.com/users/dzafman","html_url":"https://github.com/dzafman","followers_url":"https://api.github.com/users/dzafman/followers","following_url":"https://api.github.com/users/dzafman/following{/other_user}","gists_url":"https://api.github.com/users/dzafman/gists{/gist_id}","starred_url":"https://api.github.com/users/dzafman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzafman/subscriptions","organizations_url":"https://api.github.com/users/dzafman/orgs","repos_url":"https://api.github.com/users/dzafman/repos","events_url":"https://api.github.com/users/dzafman/events{/privacy}","received_events_url":"https://api.github.com/users/dzafman/received_events","type":"User","site_admin":false},"created_at":"2018-10-29T22:59:00Z","updated_at":"2018-10-29T22:59:00Z","author_association":"MEMBER","body":"@jdurgin I'm not sure how much this is an issue.  I'm afraid this option could be misused, but then again ceph-objectstore-tool is meant for things like this.\r\n\r\nMaybe this feature should be just rm-omap without key argument but with --file specified or stdin not a tty."}}
{"actor":{"display_login":"dzafman"}}