{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/etcd/issues/284","labels_url":"https://api.github.com/repos/coreos/etcd/issues/284/labels{/name}","comments_url":"https://api.github.com/repos/coreos/etcd/issues/284/comments","events_url":"https://api.github.com/repos/coreos/etcd/issues/284/events","html_url":"https://github.com/coreos/etcd/issues/284","id":21934671,"number":284,"title":"0.2: watch returns different events depending on before or after","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},"labels":[{"url":"https://api.github.com/repos/coreos/etcd/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/coreos/etcd/milestones/1","html_url":"https://github.com/coreos/etcd/milestones/v0.2.0","labels_url":"https://api.github.com/repos/coreos/etcd/milestones/1/labels","id":398941,"number":1,"title":"v0.2.0","description":"","creator":{"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},"open_issues":1,"closed_issues":78,"state":"closed","created_at":"2013-08-10T17:09:47Z","updated_at":"2015-02-11T19:54:30Z","due_on":null,"closed_at":"2014-09-08T21:13:40Z"},"comments":1,"created_at":"2013-10-31T23:28:10Z","updated_at":"2015-04-10T23:32:50Z","closed_at":null,"body":"If I watch for a future index watch returns on either index-1 or index if I retry the watch after the index it return index+1:\r\n\r\n```\r\n$ curl -L -G '127.0.0.1:4001/v2/keys/fasdf2' -d wait=true -d recursive=true -d waitIndex=10\r\n{\"action\":\"create\",\"key\":\"/fasdf2/9\",\"value\":\"bar\",\"index\":9,\"term\":0}\r\n$ curl -L -G '127.0.0.1:4001/v2/keys/fasdf2' -d wait=true -d recursive=true -d waitIndex=10\r\n{\"action\":\"create\",\"key\":\"/fasdf2/10\",\"value\":\"bar\",\"index\":10,\"term\":0}\r\n$ curl -L -G '127.0.0.1:4001/v2/keys/fasdf2' -d wait=true -d recursive=true -d waitIndex=10\r\n{\"action\":\"create\",\"key\":\"/fasdf2/11\",\"value\":\"bar\",\"index\":11,\"term\":0}\r\n```"},"comment":{"url":"https://api.github.com/repos/coreos/etcd/issues/comments/91716095","html_url":"https://github.com/coreos/etcd/issues/284#issuecomment-91716095","issue_url":"https://api.github.com/repos/coreos/etcd/issues/284","id":91716095,"user":{"login":"yichengq","id":2976232,"avatar_url":"https://avatars.githubusercontent.com/u/2976232?v=3","gravatar_id":"","url":"https://api.github.com/users/yichengq","html_url":"https://github.com/yichengq","followers_url":"https://api.github.com/users/yichengq/followers","following_url":"https://api.github.com/users/yichengq/following{/other_user}","gists_url":"https://api.github.com/users/yichengq/gists{/gist_id}","starred_url":"https://api.github.com/users/yichengq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yichengq/subscriptions","organizations_url":"https://api.github.com/users/yichengq/orgs","repos_url":"https://api.github.com/users/yichengq/repos","events_url":"https://api.github.com/users/yichengq/events{/privacy}","received_events_url":"https://api.github.com/users/yichengq/received_events","type":"User","site_admin":false},"created_at":"2015-04-10T23:32:50Z","updated_at":"2015-04-10T23:32:50Z","body":"I cannot reproduce it and belive that it has been fixed in 2.0"}}