{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/etcd/issues/3949","labels_url":"https://api.github.com/repos/coreos/etcd/issues/3949/labels{/name}","comments_url":"https://api.github.com/repos/coreos/etcd/issues/3949/comments","events_url":"https://api.github.com/repos/coreos/etcd/issues/3949/events","html_url":"https://github.com/coreos/etcd/pull/3949","id":120119310,"number":3949,"title":"etcdmain: delete member dir falling back to proxy","user":{"login":"gyuho","id":6799218,"avatar_url":"https://avatars.githubusercontent.com/u/6799218?v=3","gravatar_id":"","url":"https://api.github.com/users/gyuho","html_url":"https://github.com/gyuho","followers_url":"https://api.github.com/users/gyuho/followers","following_url":"https://api.github.com/users/gyuho/following{/other_user}","gists_url":"https://api.github.com/users/gyuho/gists{/gist_id}","starred_url":"https://api.github.com/users/gyuho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gyuho/subscriptions","organizations_url":"https://api.github.com/users/gyuho/orgs","repos_url":"https://api.github.com/users/gyuho/repos","events_url":"https://api.github.com/users/gyuho/events{/privacy}","received_events_url":"https://api.github.com/users/gyuho/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-12-03T08:42:46Z","updated_at":"2015-12-09T01:34:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/coreos/etcd/pulls/3949","html_url":"https://github.com/coreos/etcd/pull/3949","diff_url":"https://github.com/coreos/etcd/pull/3949.diff","patch_url":"https://github.com/coreos/etcd/pull/3949.patch"},"body":"This fixes https://github.com/coreos/etcd/issues/3827 where member falls to\r\nback to proxy successfully at first, but fails in subsequent tries.\r\nIt fails when there are 'member' and 'proxy' directory in the same place,\r\none of which did not get cleaned up from failure and causes this conflict\r\nerror message: 'invalid datadir. Both member and proxy directories exist.'"},"comment":{"url":"https://api.github.com/repos/coreos/etcd/issues/comments/163078394","html_url":"https://github.com/coreos/etcd/pull/3949#issuecomment-163078394","issue_url":"https://api.github.com/repos/coreos/etcd/issues/3949","id":163078394,"user":{"login":"xiang90","id":4479947,"avatar_url":"https://avatars.githubusercontent.com/u/4479947?v=3","gravatar_id":"","url":"https://api.github.com/users/xiang90","html_url":"https://github.com/xiang90","followers_url":"https://api.github.com/users/xiang90/followers","following_url":"https://api.github.com/users/xiang90/following{/other_user}","gists_url":"https://api.github.com/users/xiang90/gists{/gist_id}","starred_url":"https://api.github.com/users/xiang90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiang90/subscriptions","organizations_url":"https://api.github.com/users/xiang90/orgs","repos_url":"https://api.github.com/users/xiang90/repos","events_url":"https://api.github.com/users/xiang90/events{/privacy}","received_events_url":"https://api.github.com/users/xiang90/received_events","type":"User","site_admin":false},"created_at":"2015-12-09T01:34:55Z","updated_at":"2015-12-09T01:34:55Z","body":"In the discovery case, etcd should create member dir after it finishes discovery and finds all its peers."}}