{"action":"created","issue":{"url":"https://api.github.com/repos/ClusterLabs/resource-agents/issues/619","labels_url":"https://api.github.com/repos/ClusterLabs/resource-agents/issues/619/labels{/name}","comments_url":"https://api.github.com/repos/ClusterLabs/resource-agents/issues/619/comments","events_url":"https://api.github.com/repos/ClusterLabs/resource-agents/issues/619/events","html_url":"https://github.com/ClusterLabs/resource-agents/pull/619","id":87288723,"number":619,"title":"Medium: pgsql: delete an old replication slot when creating the slot.","user":{"login":"ytakeshita","id":5625494,"avatar_url":"https://avatars.githubusercontent.com/u/5625494?v=3","gravatar_id":"","url":"https://api.github.com/users/ytakeshita","html_url":"https://github.com/ytakeshita","followers_url":"https://api.github.com/users/ytakeshita/followers","following_url":"https://api.github.com/users/ytakeshita/following{/other_user}","gists_url":"https://api.github.com/users/ytakeshita/gists{/gist_id}","starred_url":"https://api.github.com/users/ytakeshita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ytakeshita/subscriptions","organizations_url":"https://api.github.com/users/ytakeshita/orgs","repos_url":"https://api.github.com/users/ytakeshita/repos","events_url":"https://api.github.com/users/ytakeshita/events{/privacy}","received_events_url":"https://api.github.com/users/ytakeshita/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-11T10:02:46Z","updated_at":"2015-07-22T02:38:13Z","closed_at":"2015-06-29T10:03:38Z","pull_request":{"url":"https://api.github.com/repos/ClusterLabs/resource-agents/pulls/619","html_url":"https://github.com/ClusterLabs/resource-agents/pull/619","diff_url":"https://github.com/ClusterLabs/resource-agents/pull/619.diff","patch_url":"https://github.com/ClusterLabs/resource-agents/pull/619.patch"},"body":"Initialize the replication slot (delete an old slot if exists and create a new one)\r\nto prevent that the old slot runs out of disk space.\r\n\r\nWithout the initialization, PostgreSQL would try to use the old slot after a node\r\nfailed once and re-joined to the cluster, and continue to accumulate WAL files for\r\nthe old slot, which would eventually run out of disk space."},"comment":{"url":"https://api.github.com/repos/ClusterLabs/resource-agents/issues/comments/123540352","html_url":"https://github.com/ClusterLabs/resource-agents/pull/619#issuecomment-123540352","issue_url":"https://api.github.com/repos/ClusterLabs/resource-agents/issues/619","id":123540352,"user":{"login":"ytakeshita","id":5625494,"avatar_url":"https://avatars.githubusercontent.com/u/5625494?v=3","gravatar_id":"","url":"https://api.github.com/users/ytakeshita","html_url":"https://github.com/ytakeshita","followers_url":"https://api.github.com/users/ytakeshita/followers","following_url":"https://api.github.com/users/ytakeshita/following{/other_user}","gists_url":"https://api.github.com/users/ytakeshita/gists{/gist_id}","starred_url":"https://api.github.com/users/ytakeshita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ytakeshita/subscriptions","organizations_url":"https://api.github.com/users/ytakeshita/orgs","repos_url":"https://api.github.com/users/ytakeshita/repos","events_url":"https://api.github.com/users/ytakeshita/events{/privacy}","received_events_url":"https://api.github.com/users/ytakeshita/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T02:38:13Z","updated_at":"2015-07-22T02:38:13Z","body":"@dmuhamedagic\r\nThanks for your comment.\r\nI reflect your comment.\r\nref #646 "}}