{"action":"created","issue":{"url":"https://api.github.com/repos/wandoulabs/codis/issues/347","labels_url":"https://api.github.com/repos/wandoulabs/codis/issues/347/labels{/name}","comments_url":"https://api.github.com/repos/wandoulabs/codis/issues/347/comments","events_url":"https://api.github.com/repos/wandoulabs/codis/issues/347/events","html_url":"https://github.com/wandoulabs/codis/issues/347","id":100473107,"number":347,"title":"codis 不能操作server ","user":{"login":"dennis-xie","id":13330409,"avatar_url":"https://avatars.githubusercontent.com/u/13330409?v=3","gravatar_id":"","url":"https://api.github.com/users/dennis-xie","html_url":"https://github.com/dennis-xie","followers_url":"https://api.github.com/users/dennis-xie/followers","following_url":"https://api.github.com/users/dennis-xie/following{/other_user}","gists_url":"https://api.github.com/users/dennis-xie/gists{/gist_id}","starred_url":"https://api.github.com/users/dennis-xie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dennis-xie/subscriptions","organizations_url":"https://api.github.com/users/dennis-xie/orgs","repos_url":"https://api.github.com/users/dennis-xie/repos","events_url":"https://api.github.com/users/dennis-xie/events{/privacy}","received_events_url":"https://api.github.com/users/dennis-xie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2015-08-12T05:58:18Z","updated_at":"2015-08-12T08:29:17Z","closed_at":null,"body":"版本：2.02\r\n环境：两台codis-server 组成一组group,proxy 和codis-server布署在一台机上，两个proxy\r\n问题一：\r\n         手动切换主从时，两个proxy 会停止\r\n问题二：\r\n         现在操作server 一直在执行状态 ，没有响应\r\n   比如添加slave\r\n        ./codis-config -c ../conf/config.ini server add 1 10.117.211.33:6831 slave\r\n"},"comment":{"url":"https://api.github.com/repos/wandoulabs/codis/issues/comments/130215569","html_url":"https://github.com/wandoulabs/codis/issues/347#issuecomment-130215569","issue_url":"https://api.github.com/repos/wandoulabs/codis/issues/347","id":130215569,"user":{"login":"dennis-xie","id":13330409,"avatar_url":"https://avatars.githubusercontent.com/u/13330409?v=3","gravatar_id":"","url":"https://api.github.com/users/dennis-xie","html_url":"https://github.com/dennis-xie","followers_url":"https://api.github.com/users/dennis-xie/followers","following_url":"https://api.github.com/users/dennis-xie/following{/other_user}","gists_url":"https://api.github.com/users/dennis-xie/gists{/gist_id}","starred_url":"https://api.github.com/users/dennis-xie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dennis-xie/subscriptions","organizations_url":"https://api.github.com/users/dennis-xie/orgs","repos_url":"https://api.github.com/users/dennis-xie/repos","events_url":"https://api.github.com/users/dennis-xie/events{/privacy}","received_events_url":"https://api.github.com/users/dennis-xie/received_events","type":"User","site_admin":false},"created_at":"2015-08-12T08:29:17Z","updated_at":"2015-08-12T08:29:17Z","body":"是在web管理界面点击的promom to master\r\nproxy 日志\r\n2015/08/12 16:26:37 router.go:167: [INFO] fill slot 0376, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:37 topology.go:150: [WARN] topo event {Type:EventNodeDataChanged State:StateSyncConnected Path:/zk/codis/db_daohang/proxy/3g12_proxy Err:<nil>}\r\n2015/08/12 16:26:37 topology.go:158: [WARN] {Type:EventNodeDataChanged State:StateSyncConnected Path:/zk/codis/db_daohang/proxy/3g12_proxy Err:<nil>}\r\n2015/08/12 16:26:37 router.go:167: [INFO] fill slot 0599, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:37 router.go:167: [INFO] fill slot 0757, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:37 router.go:167: [INFO] fill slot 0839, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:37 router.go:167: [INFO] fill slot 0926, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:37 router.go:167: [INFO] fill slot 0288, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:37 router.go:167: [INFO] fill slot 0369, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:37 router.go:167: [INFO] fill slot 0820, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:37 router.go:167: [INFO] fill slot 0396, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:37 router.go:167: [INFO] fill slot 0397, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:37 router.go:167: [INFO] fill slot 0696, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:37 router.go:167: [INFO] fill slot 0783, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:37 router.go:167: [INFO] fill slot 0829, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:37 router.go:167: [INFO] fill slot 0798, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:37 router.go:167: [INFO] fill slot 0949, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:37 router.go:167: [INFO] fill slot 0302, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:37 router.go:167: [INFO] fill slot 0340, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:37 router.go:167: [INFO] fill slot 0462, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:37 router.go:167: [INFO] fill slot 0514, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:37 router.go:167: [INFO] fill slot 0578, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:37 router.go:167: [INFO] fill slot 0584, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:37 router.go:167: [INFO] fill slot 0408, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:37 router.go:167: [INFO] fill slot 0697, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:37 router.go:167: [INFO] fill slot 0749, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:37 router.go:167: [INFO] fill slot 0835, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:37 router.go:167: [INFO] fill slot 0240, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:37 router.go:167: [INFO] fill slot 0250, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:38 router.go:167: [INFO] fill slot 0381, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:38 router.go:167: [INFO] fill slot 0890, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:38 router.go:167: [INFO] fill slot 0128, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:38 router.go:167: [INFO] fill slot 0273, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:38 router.go:167: [INFO] fill slot 0400, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:38 router.go:167: [INFO] fill slot 0577, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:38 router.go:167: [INFO] fill slot 0770, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:38 router.go:167: [INFO] fill slot 0669, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:38 router.go:167: [INFO] fill slot 0946, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:38 router.go:167: [INFO] fill slot 0029, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:38 router.go:167: [INFO] fill slot 0179, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:38 router.go:167: [INFO] fill slot 0425, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:38 router.go:167: [INFO] fill slot 0710, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:38 router.go:167: [INFO] fill slot 0711, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:38 router.go:167: [INFO] fill slot 0934, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:38 router.go:167: [INFO] fill slot 0291, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:38 router.go:167: [INFO] fill slot 0493, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:38 router.go:167: [INFO] fill slot 0638, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:38 router.go:167: [INFO] fill slot 0759, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:38 router.go:167: [INFO] fill slot 0285, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:38 router.go:167: [INFO] fill slot 0463, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:38 router.go:167: [INFO] fill slot 0714, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:38 router.go:167: [INFO] fill slot 0963, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:38 router.go:167: [INFO] fill slot 1001, backend.addr = 10.252.162.37:6381\r\n2015/08/12 16:26:38 proxy.go:300: [INFO] send response seq = 2098\r\n2015/08/12 16:26:38 backend.go:48: [INFO] backend conn [0xc2087e05c0] to 10.117.211.33:6381, stop and exit\r\n2015/08/12 16:26:38 proxy.go:422: [INFO] got event 3g12_proxy, {EventNodeDataChanged StateSyncConnected /zk/codis/db_daohang/proxy/3g12_proxy <nil>}, lastActionSeq 2098\r\n2015/08/12 16:26:38 proxy.go:358: [INFO] mark offline, proxy got offline event: 3g12_proxy\r\n2015/08/12 16:26:38 backend.go:48: [INFO] backend conn [0xc209cedd80] to 10.252.162.37:6381, stop and exit\r\n2015/08/12 16:26:38 main.go:206: [INFO] proxy exit!! :(\r\n"}}