{"action":"created","issue":{"url":"https://api.github.com/repos/reverbrain/eblob/issues/128","labels_url":"https://api.github.com/repos/reverbrain/eblob/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/reverbrain/eblob/issues/128/comments","events_url":"https://api.github.com/repos/reverbrain/eblob/issues/128/events","html_url":"https://github.com/reverbrain/eblob/issues/128","id":88382026,"number":128,"title":"Extend eblob summary statistics for defragmentation status","user":{"login":"shaitan","id":446423,"avatar_url":"https://avatars.githubusercontent.com/u/446423?v=3","gravatar_id":"","url":"https://api.github.com/users/shaitan","html_url":"https://github.com/shaitan","followers_url":"https://api.github.com/users/shaitan/followers","following_url":"https://api.github.com/users/shaitan/following{/other_user}","gists_url":"https://api.github.com/users/shaitan/gists{/gist_id}","starred_url":"https://api.github.com/users/shaitan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaitan/subscriptions","organizations_url":"https://api.github.com/users/shaitan/orgs","repos_url":"https://api.github.com/users/shaitan/repos","events_url":"https://api.github.com/users/shaitan/events{/privacy}","received_events_url":"https://api.github.com/users/shaitan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/reverbrain/eblob/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-15T10:21:24Z","updated_at":"2015-06-15T10:34:00Z","closed_at":null,"body":"# Current state\r\nCurrently, eblob summary has follow statistics:\r\n* `records_removed` - total number of removed records in all blobs\r\n* `records_removed_size` - total size of all removed records in all blobs\r\n* `want_defrag` - sum of `want_defrag` of all blobs\r\n\r\n# Problem\r\nThere is no statistics that shows the need and potential profit from defragmentation:\r\n* `want_defrag` is useless because it mixes `want_defrag` of all blobs\r\n* `records_removed` and `records_removed_size` are about all removed records from all blobs and don't show how many space will be freed by defragmentation\r\n\r\n# What is wanted to be changed\r\nAdd new statistics or change current statistics if it is possible. These statistics should show:\r\n* the need for defragmentation: **0** - defragmentation is useless now, **1** - defragmentation will make a profit\r\n* current profit from defragmentation: how many resources will be freed (disk space, fd etc.) "},"comment":{"url":"https://api.github.com/repos/reverbrain/eblob/issues/comments/112014280","html_url":"https://github.com/reverbrain/eblob/issues/128#issuecomment-112014280","issue_url":"https://api.github.com/repos/reverbrain/eblob/issues/128","id":112014280,"user":{"login":"agodin","id":1826093,"avatar_url":"https://avatars.githubusercontent.com/u/1826093?v=3","gravatar_id":"","url":"https://api.github.com/users/agodin","html_url":"https://github.com/agodin","followers_url":"https://api.github.com/users/agodin/followers","following_url":"https://api.github.com/users/agodin/following{/other_user}","gists_url":"https://api.github.com/users/agodin/gists{/gist_id}","starred_url":"https://api.github.com/users/agodin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agodin/subscriptions","organizations_url":"https://api.github.com/users/agodin/orgs","repos_url":"https://api.github.com/users/agodin/repos","events_url":"https://api.github.com/users/agodin/events{/privacy}","received_events_url":"https://api.github.com/users/agodin/received_events","type":"User","site_admin":false},"created_at":"2015-06-15T10:34:00Z","updated_at":"2015-06-15T10:34:00Z","body":"like!\r\n"}}