{"action":"created","issue":{"url":"https://api.github.com/repos/wandoulabs/codis/issues/515","labels_url":"https://api.github.com/repos/wandoulabs/codis/issues/515/labels{/name}","comments_url":"https://api.github.com/repos/wandoulabs/codis/issues/515/comments","events_url":"https://api.github.com/repos/wandoulabs/codis/issues/515/events","html_url":"https://github.com/wandoulabs/codis/issues/515","id":116249386,"number":515,"title":"Migrate Slot 报错卡住 如何解决？","user":{"login":"tiantian7223430","id":14834726,"avatar_url":"https://avatars.githubusercontent.com/u/14834726?v=3","gravatar_id":"","url":"https://api.github.com/users/tiantian7223430","html_url":"https://github.com/tiantian7223430","followers_url":"https://api.github.com/users/tiantian7223430/followers","following_url":"https://api.github.com/users/tiantian7223430/following{/other_user}","gists_url":"https://api.github.com/users/tiantian7223430/gists{/gist_id}","starred_url":"https://api.github.com/users/tiantian7223430/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiantian7223430/subscriptions","organizations_url":"https://api.github.com/users/tiantian7223430/orgs","repos_url":"https://api.github.com/users/tiantian7223430/repos","events_url":"https://api.github.com/users/tiantian7223430/events{/privacy}","received_events_url":"https://api.github.com/users/tiantian7223430/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-11-11T02:27:58Z","updated_at":"2015-11-24T03:46:51Z","closed_at":"2015-11-12T06:58:54Z","body":"Migrate Slot \tNew Group \tCreate At \tStatus \tPercent\r\nslot_1 \tgroup_0 \t2015-11-11 10:15:21 +0800 \terror \t0 %\r\nslot_0 \tgroup_1 \t2015-11-11 10:24:12 +0800 \tpending \t0 %\r\nslot_1 \tgroup_1 \t2015-11-11 10:24:12 +0800 \tpending \t0 %\r\n"},"comment":{"url":"https://api.github.com/repos/wandoulabs/codis/issues/comments/159142681","html_url":"https://github.com/wandoulabs/codis/issues/515#issuecomment-159142681","issue_url":"https://api.github.com/repos/wandoulabs/codis/issues/515","id":159142681,"user":{"login":"henry-zhang","id":4196546,"avatar_url":"https://avatars.githubusercontent.com/u/4196546?v=3","gravatar_id":"","url":"https://api.github.com/users/henry-zhang","html_url":"https://github.com/henry-zhang","followers_url":"https://api.github.com/users/henry-zhang/followers","following_url":"https://api.github.com/users/henry-zhang/following{/other_user}","gists_url":"https://api.github.com/users/henry-zhang/gists{/gist_id}","starred_url":"https://api.github.com/users/henry-zhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henry-zhang/subscriptions","organizations_url":"https://api.github.com/users/henry-zhang/orgs","repos_url":"https://api.github.com/users/henry-zhang/repos","events_url":"https://api.github.com/users/henry-zhang/events{/privacy}","received_events_url":"https://api.github.com/users/henry-zhang/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T03:46:51Z","updated_at":"2015-11-24T03:46:51Z","body":"果然有一个节点在报错\r\n[6] 24 Nov 03:44:38.045 # slotsmgrt: close target 10.160.81.53:6381\r\n[6] 24 Nov 03:44:39.875 # slotsmgrt: connect to target 10.160.81.53:6381\r\n[6] 24 Nov 03:44:39.877 # slotsmgrt: migration failed, reading from target 10.160.81.53:6381: nkeys = 1, onekey = 'test', response = '-ERR unknown command 'SLOTSRESTORE''\r\n[6] 24 Nov 03:44:39.877 # slotsmgrt: close target 10.160.81.53:6381\r\n[6] 24 Nov 03:44:41.651 # slotsmgrt: connect to target 10.160.81.53:6381\r\n[6] 24 Nov 03:44:41.653 # slotsmgrt: migration failed, reading from target 10.160.81.53:6381: nkeys = 1, onekey = 'test', response = '-ERR unknown command 'SLOTSRESTORE''\r\n[6] 24 Nov 03:44:41.653 # slotsmgrt: close target 10.160.81.53:6381\r\n[6] 24 Nov 03:44:43.441 # slotsmgrt: connect to target 10.160.81.53:6381\r\n[6] 24 Nov 03:44:43.443 # slotsmgrt: migration failed, reading from target 10.160.81.53:6381: nkeys = 1, onekey = 'test', response = '-ERR unknown command 'SLOTSRESTORE''\r\n[6] 24 Nov 03:44:43.444 # slotsmgrt: close target 10.160.81.53:6381\r\n\r\n\r\n以下是10.160.81.53:6381节点日志\r\n\r\n\r\n[6] 23 Nov 08:00:50.932 # Connection with master lost.\r\n[6] 23 Nov 08:00:50.932 * Caching the disconnected master state.\r\n[6] 23 Nov 08:00:50.932 * Connecting to MASTER 10.117.45.232:6379\r\n[6] 23 Nov 08:00:50.932 * MASTER <-> SLAVE sync started\r\n[6] 23 Nov 08:00:50.934 * Non blocking connect for SYNC fired the event.\r\n[6] 23 Nov 08:00:50.936 * Master replied to PING, replication can continue...\r\n[6] 23 Nov 08:00:50.938 * Trying a partial resynchronization (request 38b0d0de7976f6c80fe3862b673da2f0c0280e57:5004712339).\r\n[6] 23 Nov 08:00:50.940 * Full resync from master: 38b0d0de7976f6c80fe3862b673da2f0c0280e57:5010786925\r\n[6] 23 Nov 08:00:50.940 * Discarding previously cached master state.\r\n[6] 23 Nov 08:01:03.456 * MASTER <-> SLAVE sync: receiving 355443080 bytes from master\r\n[6] 23 Nov 08:01:12.991 * MASTER <-> SLAVE sync: Flushing old data\r\n[6] 23 Nov 08:01:23.196 * MASTER <-> SLAVE sync: Loading DB in memory\r\n[6] 23 Nov 08:01:36.657 * MASTER <-> SLAVE sync: Finished with success\r\n[6] 24 Nov 02:34:12.263 * Slave 10.117.45.232:6381 asks for synchronization\r\n[6] 24 Nov 02:34:12.263 * Full resync requested by slave 10.117.45.232:6381\r\n[6] 24 Nov 02:34:12.263 * Starting BGSAVE for SYNC with target: disk\r\n[6] 24 Nov 02:34:12.265 * Background saving started by pid 10\r\n[10] 24 Nov 02:34:29.929 * DB saved on disk\r\n[10] 24 Nov 02:34:29.930 * RDB: 316 MB of memory used by copy-on-write\r\n[6] 24 Nov 02:34:30.030 * Background saving terminated with success\r\n[6] 24 Nov 02:34:41.098 * Synchronization with slave 10.117.45.232:6381 succeeded"}}