{"action":"closed","issue":{"url":"https://api.github.com/repos/project-hatohol/hatohol/issues/139","labels_url":"https://api.github.com/repos/project-hatohol/hatohol/issues/139/labels{/name}","comments_url":"https://api.github.com/repos/project-hatohol/hatohol/issues/139/comments","events_url":"https://api.github.com/repos/project-hatohol/hatohol/issues/139/events","html_url":"https://github.com/project-hatohol/hatohol/issues/139","id":27671829,"number":139,"title":"Drop unused data periodically","user":{"login":"kz0817","id":2610513,"avatar_url":"https://avatars.githubusercontent.com/u/2610513?v=3","gravatar_id":"","url":"https://api.github.com/users/kz0817","html_url":"https://github.com/kz0817","followers_url":"https://api.github.com/users/kz0817/followers","following_url":"https://api.github.com/users/kz0817/following{/other_user}","gists_url":"https://api.github.com/users/kz0817/gists{/gist_id}","starred_url":"https://api.github.com/users/kz0817/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kz0817/subscriptions","organizations_url":"https://api.github.com/users/kz0817/orgs","repos_url":"https://api.github.com/users/kz0817/repos","events_url":"https://api.github.com/users/kz0817/events{/privacy}","received_events_url":"https://api.github.com/users/kz0817/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/project-hatohol/hatohol/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/project-hatohol/hatohol/labels/Internal+Architecutre","name":"Internal Architecutre","color":"5319e7"}],"state":"closed","locked":false,"assignee":{"login":"kou","id":27350,"avatar_url":"https://avatars.githubusercontent.com/u/27350?v=3","gravatar_id":"","url":"https://api.github.com/users/kou","html_url":"https://github.com/kou","followers_url":"https://api.github.com/users/kou/followers","following_url":"https://api.github.com/users/kou/following{/other_user}","gists_url":"https://api.github.com/users/kou/gists{/gist_id}","starred_url":"https://api.github.com/users/kou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kou/subscriptions","organizations_url":"https://api.github.com/users/kou/orgs","repos_url":"https://api.github.com/users/kou/repos","events_url":"https://api.github.com/users/kou/events{/privacy}","received_events_url":"https://api.github.com/users/kou/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/project-hatohol/hatohol/milestones/5","labels_url":"https://api.github.com/repos/project-hatohol/hatohol/milestones/5/labels","id":406687,"number":5,"title":"14.12","description":"Major features\r\n- Graph\r\n- Host management (relation between VMs and hypervisors)\r\n- Log management (work with fluentd)\r\n\r\n(Tentative agent)\r\n- 12/15 9:00JST Code freeze\r\n- 12/15, 16: Make packages: pre1\r\n- 12/17: Test pre1\r\n- 12/18: Fix problems\r\n- 12/19: Make rc1 and test\r\n- 12/20-23: Fix problems\r\n- 12/24 Make rc2 and test\r\n- 12/25 Test rc2\r\n- 12/26 Release","creator":{"login":"kz0817","id":2610513,"avatar_url":"https://avatars.githubusercontent.com/u/2610513?v=3","gravatar_id":"","url":"https://api.github.com/users/kz0817","html_url":"https://github.com/kz0817","followers_url":"https://api.github.com/users/kz0817/followers","following_url":"https://api.github.com/users/kz0817/following{/other_user}","gists_url":"https://api.github.com/users/kz0817/gists{/gist_id}","starred_url":"https://api.github.com/users/kz0817/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kz0817/subscriptions","organizations_url":"https://api.github.com/users/kz0817/orgs","repos_url":"https://api.github.com/users/kz0817/repos","events_url":"https://api.github.com/users/kz0817/events{/privacy}","received_events_url":"https://api.github.com/users/kz0817/received_events","type":"User","site_admin":false},"open_issues":41,"closed_issues":119,"state":"open","created_at":"2013-08-21T00:21:14Z","updated_at":"2015-01-06T01:41:40Z","due_on":"2014-12-25T15:00:00Z","closed_at":null},"comments":1,"created_at":"2014-02-16T12:17:12Z","updated_at":"2015-01-06T01:41:40Z","closed_at":"2015-01-06T01:41:40Z","body":"Now unused data (e.g. triggers and events that belong to the deleted server or hosts)\r\nremains in the DB forever. We have to drop them periodically.\r\n\r\nNote: We don't drop them immediately after hatohol detect deletion of servers or hosts\r\nin order to leave enough room for investigation of some troubles.\r\n\r\nsee also #138."}}