{"action":"created","issue":{"url":"https://api.github.com/repos/dimagi/commcare-hq/issues/12992","repository_url":"https://api.github.com/repos/dimagi/commcare-hq","labels_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/12992/labels{/name}","comments_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/12992/comments","events_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/12992/events","html_url":"https://github.com/dimagi/commcare-hq/pull/12992","id":173305920,"number":12992,"title":"Default to closing ES indices","user":{"login":"emord","id":1471773,"avatar_url":"https://avatars.githubusercontent.com/u/1471773?v=3","gravatar_id":"","url":"https://api.github.com/users/emord","html_url":"https://github.com/emord","followers_url":"https://api.github.com/users/emord/followers","following_url":"https://api.github.com/users/emord/following{/other_user}","gists_url":"https://api.github.com/users/emord/gists{/gist_id}","starred_url":"https://api.github.com/users/emord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emord/subscriptions","organizations_url":"https://api.github.com/users/emord/orgs","repos_url":"https://api.github.com/users/emord/repos","events_url":"https://api.github.com/users/emord/events{/privacy}","received_events_url":"https://api.github.com/users/emord/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dimagi/commcare-hq/labels/No%20lint%20errors","name":"No lint errors","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-25T20:46:09Z","updated_at":"2016-08-26T07:55:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dimagi/commcare-hq/pulls/12992","html_url":"https://github.com/dimagi/commcare-hq/pull/12992","diff_url":"https://github.com/dimagi/commcare-hq/pull/12992.diff","patch_url":"https://github.com/dimagi/commcare-hq/pull/12992.patch"},"body":"This changes `prune_elastic_indices` to flushing and closing an index instead of deleting. Closing an index provides all the same benefits of deleting except that it doesn't delete it from the disk.\r\n\r\nWill also have a followup PR to make sure this doesn't delete UCR indices.\r\n\r\n@czue "},"comment":{"url":"https://api.github.com/repos/dimagi/commcare-hq/issues/comments/242657775","html_url":"https://github.com/dimagi/commcare-hq/pull/12992#issuecomment-242657775","issue_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/12992","id":242657775,"user":{"login":"czue","id":66555,"avatar_url":"https://avatars.githubusercontent.com/u/66555?v=3","gravatar_id":"","url":"https://api.github.com/users/czue","html_url":"https://github.com/czue","followers_url":"https://api.github.com/users/czue/followers","following_url":"https://api.github.com/users/czue/following{/other_user}","gists_url":"https://api.github.com/users/czue/gists{/gist_id}","starred_url":"https://api.github.com/users/czue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/czue/subscriptions","organizations_url":"https://api.github.com/users/czue/orgs","repos_url":"https://api.github.com/users/czue/repos","events_url":"https://api.github.com/users/czue/events{/privacy}","received_events_url":"https://api.github.com/users/czue/received_events","type":"User","site_admin":false},"created_at":"2016-08-26T07:55:46Z","updated_at":"2016-08-26T07:55:46Z","body":"looks good but one question - after you close the indexes do they still show up anywhere? I think one of the main benefits of pruning is freeing disk space back up so we should still have a workflow that supports that"}}
{"actor":{"display_login":"czue"}}