{"action":"created","issue":{"url":"https://api.github.com/repos/influxdb/influxdb/issues/2415","labels_url":"https://api.github.com/repos/influxdb/influxdb/issues/2415/labels{/name}","comments_url":"https://api.github.com/repos/influxdb/influxdb/issues/2415/comments","events_url":"https://api.github.com/repos/influxdb/influxdb/issues/2415/events","html_url":"https://github.com/influxdb/influxdb/pull/2415","id":70704878,"number":2415,"title":"raft: fix leaderID error when state changed","user":{"login":"xiaost","id":5179850,"avatar_url":"https://avatars.githubusercontent.com/u/5179850?v=3","gravatar_id":"","url":"https://api.github.com/users/xiaost","html_url":"https://github.com/xiaost","followers_url":"https://api.github.com/users/xiaost/followers","following_url":"https://api.github.com/users/xiaost/following{/other_user}","gists_url":"https://api.github.com/users/xiaost/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaost/subscriptions","organizations_url":"https://api.github.com/users/xiaost/orgs","repos_url":"https://api.github.com/users/xiaost/repos","events_url":"https://api.github.com/users/xiaost/events{/privacy}","received_events_url":"https://api.github.com/users/xiaost/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-24T14:29:11Z","updated_at":"2015-04-24T18:05:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/influxdb/influxdb/pulls/2415","html_url":"https://github.com/influxdb/influxdb/pull/2415","diff_url":"https://github.com/influxdb/influxdb/pull/2415.diff","patch_url":"https://github.com/influxdb/influxdb/pull/2415.patch"},"body":"I'm try to use raft module in my project and found the bug:\r\nafter follower becoming leader, the `IsLeader()` api don't return correctly :sob: :cry: "},"comment":{"url":"https://api.github.com/repos/influxdb/influxdb/issues/comments/96016712","html_url":"https://github.com/influxdb/influxdb/pull/2415#issuecomment-96016712","issue_url":"https://api.github.com/repos/influxdb/influxdb/issues/2415","id":96016712,"user":{"login":"otoolep","id":536312,"avatar_url":"https://avatars.githubusercontent.com/u/536312?v=3","gravatar_id":"","url":"https://api.github.com/users/otoolep","html_url":"https://github.com/otoolep","followers_url":"https://api.github.com/users/otoolep/followers","following_url":"https://api.github.com/users/otoolep/following{/other_user}","gists_url":"https://api.github.com/users/otoolep/gists{/gist_id}","starred_url":"https://api.github.com/users/otoolep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otoolep/subscriptions","organizations_url":"https://api.github.com/users/otoolep/orgs","repos_url":"https://api.github.com/users/otoolep/repos","events_url":"https://api.github.com/users/otoolep/events{/privacy}","received_events_url":"https://api.github.com/users/otoolep/received_events","type":"User","site_admin":false},"created_at":"2015-04-24T18:05:50Z","updated_at":"2015-04-24T18:05:50Z","body":"Can you describe the problems you had with the system before this change\nwas in place?\n\nOn Friday, April 24, 2015, xiaost <notifications@github.com> wrote:\n\n> @otoolep <https://github.com/otoolep> LTGM, signed. [image: :smiley:]\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/influxdb/influxdb/pull/2415#issuecomment-95984573>.\n>\n"}}