{"action":"created","issue":{"url":"https://api.github.com/repos/docker/swarmkit/issues/1341","repository_url":"https://api.github.com/repos/docker/swarmkit","labels_url":"https://api.github.com/repos/docker/swarmkit/issues/1341/labels{/name}","comments_url":"https://api.github.com/repos/docker/swarmkit/issues/1341/comments","events_url":"https://api.github.com/repos/docker/swarmkit/issues/1341/events","html_url":"https://github.com/docker/swarmkit/issues/1341","id":169983888,"number":1341,"title":"Leader that has lost quorum should not respond read-only requests","user":{"login":"tonistiigi","id":585223,"avatar_url":"https://avatars.githubusercontent.com/u/585223?v=3","gravatar_id":"","url":"https://api.github.com/users/tonistiigi","html_url":"https://github.com/tonistiigi","followers_url":"https://api.github.com/users/tonistiigi/followers","following_url":"https://api.github.com/users/tonistiigi/following{/other_user}","gists_url":"https://api.github.com/users/tonistiigi/gists{/gist_id}","starred_url":"https://api.github.com/users/tonistiigi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonistiigi/subscriptions","organizations_url":"https://api.github.com/users/tonistiigi/orgs","repos_url":"https://api.github.com/users/tonistiigi/repos","events_url":"https://api.github.com/users/tonistiigi/events{/privacy}","received_events_url":"https://api.github.com/users/tonistiigi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-08-08T17:51:01Z","updated_at":"2016-08-08T19:14:37Z","closed_at":null,"body":"- Create a cluster with 2 managers\r\n- Shut down the follower\r\n- With accessing the old leader with control api all write requests block because the quorum has been lost but read-only requests return fine.\r\n\r\nThis is problematic when the leader gets cut out from the other managers that create a new quorum and may cause one manager to return different responses than another.\r\n\r\ncc @aaronlehmann @abronan "},"comment":{"url":"https://api.github.com/repos/docker/swarmkit/issues/comments/238345468","html_url":"https://github.com/docker/swarmkit/issues/1341#issuecomment-238345468","issue_url":"https://api.github.com/repos/docker/swarmkit/issues/1341","id":238345468,"user":{"login":"aaronlehmann","id":10601430,"avatar_url":"https://avatars.githubusercontent.com/u/10601430?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronlehmann","html_url":"https://github.com/aaronlehmann","followers_url":"https://api.github.com/users/aaronlehmann/followers","following_url":"https://api.github.com/users/aaronlehmann/following{/other_user}","gists_url":"https://api.github.com/users/aaronlehmann/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronlehmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronlehmann/subscriptions","organizations_url":"https://api.github.com/users/aaronlehmann/orgs","repos_url":"https://api.github.com/users/aaronlehmann/repos","events_url":"https://api.github.com/users/aaronlehmann/events{/privacy}","received_events_url":"https://api.github.com/users/aaronlehmann/received_events","type":"User","site_admin":false},"created_at":"2016-08-08T19:14:37Z","updated_at":"2016-08-08T19:14:37Z","body":"I'm surprised it doesn't work. Are you waiting long enough for the remaining manager to start a new election? Otherwise it has no way of knowing that the quorum is gone.\r\n\r\nI'll try to reproduce this when I have a chance.\r\n\r\nI also put together this commit: https://github.com/aaronlehmann/swarmkit/commit/f0240bf1819f19566b42b20e9b4c5efa3b0b91c8\r\n\r\n...but now that I think about it, I don't understand how `LeaderAddr` could be involved."}}
{"actor":{"display_login":"aaronlehmann"}}