{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/etcd/issues/6892","repository_url":"https://api.github.com/repos/coreos/etcd","labels_url":"https://api.github.com/repos/coreos/etcd/issues/6892/labels{/name}","comments_url":"https://api.github.com/repos/coreos/etcd/issues/6892/comments","events_url":"https://api.github.com/repos/coreos/etcd/issues/6892/events","html_url":"https://github.com/coreos/etcd/issues/6892","id":191113347,"number":6892,"title":"etcd hangs on 2nd get status","user":{"login":"aanm","id":5714066,"avatar_url":"https://avatars.githubusercontent.com/u/5714066?v=3","gravatar_id":"","url":"https://api.github.com/users/aanm","html_url":"https://github.com/aanm","followers_url":"https://api.github.com/users/aanm/followers","following_url":"https://api.github.com/users/aanm/following{/other_user}","gists_url":"https://api.github.com/users/aanm/gists{/gist_id}","starred_url":"https://api.github.com/users/aanm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aanm/subscriptions","organizations_url":"https://api.github.com/users/aanm/orgs","repos_url":"https://api.github.com/users/aanm/repos","events_url":"https://api.github.com/users/aanm/events{/privacy}","received_events_url":"https://api.github.com/users/aanm/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/coreos/etcd/milestones/30","html_url":"https://github.com/coreos/etcd/milestones/v3.1.0","labels_url":"https://api.github.com/repos/coreos/etcd/milestones/30/labels","id":1735265,"number":30,"title":"v3.1.0","description":"Proxy!","creator":{"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},"open_issues":1,"closed_issues":126,"state":"open","created_at":"2016-04-27T23:53:02Z","updated_at":"2016-11-23T19:51:48Z","due_on":"2016-12-31T00:00:00Z","closed_at":null},"comments":5,"created_at":"2016-11-22T20:16:48Z","updated_at":"2016-11-24T02:43:31Z","closed_at":"2016-11-23T19:51:48Z","body":"I was trying to get the cluster status of etcd. Calling `e.Status()` once works as expected. However, calling `e.Status()` again, it doesn't work and the client hangs forever. Do I need to create a new cliente instance in order to retrieve the endpoint status of each endpoint? Why?\r\n\r\n```go\r\ntype EtcdClient struct {\r\n\tcli         *client.Client\r\n}\r\n\r\nfunc (e *EtcdClient) Status() (string, error) {\r\n\teps := e.cli.Endpoints()\r\n\tfor i, ep := range eps {\r\n\t\tif sr, err := e.cli.Status(ctx.Background(), ep); err != nil {\r\n\t\t\treturn \"\", err\r\n\t\t} else if sr.Header.MemberId == sr.Leader {\r\n\t\t\teps[i] = fmt.Sprintf(\"%s - (Leader) %s\", ep, sr.Version)\r\n\t\t} else {\r\n\t\t\teps[i] = fmt.Sprintf(\"%s - %s\", ep, sr.Version)\r\n\t\t}\r\n\t}\r\n\treturn strings.Join(eps, \"; \"), nil\r\n}\r\n```\r\n\r\nversion: `3.1.0-rc.1`"},"comment":{"url":"https://api.github.com/repos/coreos/etcd/issues/comments/262677774","html_url":"https://github.com/coreos/etcd/issues/6892#issuecomment-262677774","issue_url":"https://api.github.com/repos/coreos/etcd/issues/6892","id":262677774,"user":{"login":"aanm","id":5714066,"avatar_url":"https://avatars.githubusercontent.com/u/5714066?v=3","gravatar_id":"","url":"https://api.github.com/users/aanm","html_url":"https://github.com/aanm","followers_url":"https://api.github.com/users/aanm/followers","following_url":"https://api.github.com/users/aanm/following{/other_user}","gists_url":"https://api.github.com/users/aanm/gists{/gist_id}","starred_url":"https://api.github.com/users/aanm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aanm/subscriptions","organizations_url":"https://api.github.com/users/aanm/orgs","repos_url":"https://api.github.com/users/aanm/repos","events_url":"https://api.github.com/users/aanm/events{/privacy}","received_events_url":"https://api.github.com/users/aanm/received_events","type":"User","site_admin":false},"created_at":"2016-11-24T02:43:31Z","updated_at":"2016-11-24T02:43:31Z","body":"Cool, thanks! :-)"}}
{"actor":{"display_login":"aanm"}}