{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/go-etcd/issues/226","labels_url":"https://api.github.com/repos/coreos/go-etcd/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/coreos/go-etcd/issues/226/comments","events_url":"https://api.github.com/repos/coreos/go-etcd/issues/226/events","html_url":"https://github.com/coreos/go-etcd/issues/226","id":93303835,"number":226,"title":"Possible inconsistency","user":{"login":"victorcoder","id":47026,"avatar_url":"https://avatars.githubusercontent.com/u/47026?v=3","gravatar_id":"","url":"https://api.github.com/users/victorcoder","html_url":"https://github.com/victorcoder","followers_url":"https://api.github.com/users/victorcoder/followers","following_url":"https://api.github.com/users/victorcoder/following{/other_user}","gists_url":"https://api.github.com/users/victorcoder/gists{/gist_id}","starred_url":"https://api.github.com/users/victorcoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victorcoder/subscriptions","organizations_url":"https://api.github.com/users/victorcoder/orgs","repos_url":"https://api.github.com/users/victorcoder/repos","events_url":"https://api.github.com/users/victorcoder/events{/privacy}","received_events_url":"https://api.github.com/users/victorcoder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-06T15:16:27Z","updated_at":"2015-07-06T15:36:44Z","closed_at":null,"body":"This is somewhat related to https://github.com/coreos/go-etcd/issues/191 in the sense of exposing the `version` API\r\n\r\nWhen trying to query the cluster for `/version` with `SendRequest` the `getHttpPath` appends the version constant to the path https://github.com/coreos/go-etcd/blob/master/etcd/requests.go#L365\r\n\r\nThis will be fine if all etcd methods where actually in the `v2` namespace, but it's not.\r\n\r\nMy workaround is to query the client with `rr := etcdc.NewRawRequest(\"GET\", \"../version\", nil, nil)` Quite ugly.\r\n\r\nI don't know if should be the server that moves the `version` method to the `v2`namespace or the `SendRequest` to allow queries starting from the root `/`\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/coreos/go-etcd/issues/comments/118897438","html_url":"https://github.com/coreos/go-etcd/issues/226#issuecomment-118897438","issue_url":"https://api.github.com/repos/coreos/go-etcd/issues/226","id":118897438,"user":{"login":"philips","id":33544,"avatar_url":"https://avatars.githubusercontent.com/u/33544?v=3","gravatar_id":"","url":"https://api.github.com/users/philips","html_url":"https://github.com/philips","followers_url":"https://api.github.com/users/philips/followers","following_url":"https://api.github.com/users/philips/following{/other_user}","gists_url":"https://api.github.com/users/philips/gists{/gist_id}","starred_url":"https://api.github.com/users/philips/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philips/subscriptions","organizations_url":"https://api.github.com/users/philips/orgs","repos_url":"https://api.github.com/users/philips/repos","events_url":"https://api.github.com/users/philips/events{/privacy}","received_events_url":"https://api.github.com/users/philips/received_events","type":"User","site_admin":false},"created_at":"2015-07-06T15:36:44Z","updated_at":"2015-07-06T15:36:44Z","body":"@victorcoder Why do you want the /version endpoint? The trouble with that endpoint is that it is a machine level API mostly designed for debugging. It can be inconsistent across the cluster."}}