{"action":"created","issue":{"url":"https://api.github.com/repos/cockroachdb/cockroach/issues/4617","repository_url":"https://api.github.com/repos/cockroachdb/cockroach","labels_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/4617/labels{/name}","comments_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/4617/comments","events_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/4617/events","html_url":"https://github.com/cockroachdb/cockroach/issues/4617","id":136162469,"number":4617,"title":"admin UI and sql client hang when 2 nodes down in a 3 node cluster","user":{"login":"jseldess","id":15893490,"avatar_url":"https://avatars.githubusercontent.com/u/15893490?v=3","gravatar_id":"","url":"https://api.github.com/users/jseldess","html_url":"https://github.com/jseldess","followers_url":"https://api.github.com/users/jseldess/followers","following_url":"https://api.github.com/users/jseldess/following{/other_user}","gists_url":"https://api.github.com/users/jseldess/gists{/gist_id}","starred_url":"https://api.github.com/users/jseldess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jseldess/subscriptions","organizations_url":"https://api.github.com/users/jseldess/orgs","repos_url":"https://api.github.com/users/jseldess/repos","events_url":"https://api.github.com/users/jseldess/events{/privacy}","received_events_url":"https://api.github.com/users/jseldess/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-24T19:28:47Z","updated_at":"2016-02-24T19:31:51Z","closed_at":null,"body":"When you start up a 3 node cluster and then take 2 of the nodes down, the sql client hangs and the admin ui goes blank.\r\n\r\n1. Start first node: `./cockroach start --insecure`\r\n2. Start second node: `./cockroach start --insecure --stores=cockroach-data2 --port=26258 --join=localhost:26257`\r\n3. Start third node: `./cockroach start --insecure --stores=cockroach-data3 --port=26259 --join=localhost:26257`\r\n4. Start sql client: `./cockroach sql --insecure'.\r\n5. Run `show databases;`. **Response is fine.**\r\n6. Open admin UI. **Looks fine.**\r\n7. Stop second and third nodes.\r\n8. In sql client, run `show databases;`. **No response.**\r\n9. Refresh admin UI. **Blank page.** \r\n10. Restart node 2. **sql client and admin UI fine again.**\r\n\r\n@tamird reproduced this as well."},"comment":{"url":"https://api.github.com/repos/cockroachdb/cockroach/issues/comments/188419584","html_url":"https://github.com/cockroachdb/cockroach/issues/4617#issuecomment-188419584","issue_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/4617","id":188419584,"user":{"login":"tamird","id":1535036,"avatar_url":"https://avatars.githubusercontent.com/u/1535036?v=3","gravatar_id":"","url":"https://api.github.com/users/tamird","html_url":"https://github.com/tamird","followers_url":"https://api.github.com/users/tamird/followers","following_url":"https://api.github.com/users/tamird/following{/other_user}","gists_url":"https://api.github.com/users/tamird/gists{/gist_id}","starred_url":"https://api.github.com/users/tamird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamird/subscriptions","organizations_url":"https://api.github.com/users/tamird/orgs","repos_url":"https://api.github.com/users/tamird/repos","events_url":"https://api.github.com/users/tamird/events{/privacy}","received_events_url":"https://api.github.com/users/tamird/received_events","type":"User","site_admin":false},"created_at":"2016-02-24T19:31:51Z","updated_at":"2016-02-24T19:31:51Z","body":"To clarify, the SQL client part of this is the expected\nraft-doesn't-have-quorum stall. The bug is that the admin UI is down when\nyou need it most.\nOn Feb 24, 2016 14:29, \"jseldess\" <notifications@github.com> wrote:\n\n> When you start up a 3 node cluster and then take 2 of the nodes down, the\n> sql client hangs and the admin ui goes blank.\n>\n>    1. Start first node: ./cockroach start --insecure\n>    2. Start second node: ./cockroach start --insecure\n>    --stores=cockroach-data2 --port=26258 --join=localhost:26257\n>    3. Start third node: ./cockroach start --insecure\n>    --stores=cockroach-data3 --port=26259 --join=localhost:26257\n>    4. Start sql client: `./cockroach sql --insecure'.\n>    5. Run show databases;. *Response is fine.*\n>    6. Open admin UI. *Looks fine.*\n>    7. Stop second and third nodes.\n>    8. In sql client, run show databases;. *No response.*\n>    9. Refresh admin UI. *Blank page.*\n>    10. Restart node 2. *sql client and admin UI fine again.*\n>\n> @tamird <https://github.com/tamird> reproduced this as well.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/cockroachdb/cockroach/issues/4617>.\n>\n"}}