vipshop / redis-migrate-tool

A convenient and useful tool for migrating data between redis group.
Apache License 2.0
958 stars 319 forks source link

rmt_redis.c:3439 ERROR: parsed bad req 0 of type 86 with key length 479 that greater than or equal to maximum redis key length of 464 #66

Open BeMike789 opened 6 years ago

BeMike789 commented 6 years ago

[2018-11-12 05:10:34.790] rmt_redis.c:6709 All nodes' rdb file parsed finished for this write thread(0). [2018-11-12 05:10:34.868] rmt_redis.c:3439 ERROR: parsed bad req 0 of type 86 with key length 479 that greater than or equal to maximum redis key length of 464 [2018-11-12 05:10:34.868] rmt_core.c:2019 msg dump id 0 request 1 len 331 type 86 (err 0) kind 2 result 1 mbuf_count 1 keys_count 0 [2018-11-12 05:10:34.868] rmt_core.c:2019 mbuf [0x7f92e0e9b800] with 331 bytes of data, pos 0x7f92e0e9b800 last 0x7f92e0e9b94b 00000000 2a 34 0d 0a 24 37 0d 0a 5a 49 4e 43 52 42 59 0d |4..$7..ZINCRBY.| 00000010 0a 24 34 37 39 0d 0a 64 61 74 61 76 3a 63 6c 69 |.$479..datav:cli| 00000020 63 6b 3a 73 6f 72 74 3a 64 61 74 65 3a 32 30 31 |ck:sort:date:201| 00000030 38 2d 31 31 2d 31 32 3a 64 6f 6d 61 69 6e 3a 6c |8-11-12:domain:l| 00000040 6f 67 69 6e 2e 67 65 61 72 62 65 73 74 2e 63 6f |ogin.gearbest.co| 00000050 6d 3a 70 61 67 65 3a 2f 72 65 67 69 73 74 65 72 |m:page:/register| 00000060 2f 61 63 74 69 76 61 74 69 6f 6e 2d 65 6d 61 69 |/activation-emai| 00000070 6c 2f 65 79 4a 70 64 69 49 36 49 6b 46 45 59 6d |l/eyJpdiI6IkFEYm| 00000080 68 52 53 32 70 78 4e 46 5a 34 63 47 46 61 63 57 |hRS2pxNFZ4cGFacW| 00000090 78 4f 52 46 52 49 5a 6b 45 39 50 53 49 73 49 6e |xORFRIZkE9PSIsIn| 000000a0 5a 68 62 48 56 6c 49 6a 6f 69 62 58 41 31 52 7a |ZhbHVlIjoibXA1Rz| 000000b0 56 75 65 6e 45 34 5a 54 4e 30 57 6a 45 77 53 45 |VuenE4ZTN0WjEwSE| 000000c0 52 51 59 55 34 31 61 48 5a 69 63 32 52 4f 63 6d |RQYU41aHZic2ROcm| 000000d0 78 36 57 46 41 79 64 31 4e 6b 55 55 34 30 64 6c |x6WFAyd1NkUU40dl| 000000e0 64 79 52 48 5a 70 62 6d 6c 50 4d 46 45 7a 53 48 |dyRHZpbmlPMFEzSH| 000000f0 4a 46 4f 48 4a 51 52 6a 42 51 53 7a 51 77 56 54 |JFOHJQRjBQSzQwVT| 00000100 56 4b 51 6d 70 56 62 57 64 57 58 43 39 7a 57 45 |VKQmpVbWdWXC9zWE| 00000110 31 48 53 6d 63 33 61 30 63 34 4d 6a 56 61 5a 58 |1HSmc3a0c4MjVaZX| 00000120 46 51 55 57 4a 6d 5a 55 5a 5a 64 33 46 30 4e 31 |FQUWJmZUZZd3F0N1| 00000130 46 71 61 48 68 7a 53 57 78 53 59 31 77 76 62 33 |FqaHhzSWxSY1wvb3| 00000140 64 73 5a 47 39 72 56 46 4e 46 64 |dsZG9rVFNFd| [2018-11-12 05:10:34.868] rmt_mbuf.c:427 mbuf list length : 0 [2018-11-12 05:10:34.868] rmt_core.c:2019 msg dump id 0 request 1 len 464 type 0 (err 0) kind 2 result 1 mbuf_count 1 keys_count 0 [2018-11-12 05:10:34.868] rmt_core.c:2019 mbuf [0x7f9306c7e000] with 464 bytes of data, pos 0x7f9306c7e000 last 0x7f9306c7e1d0 00000000 6a 42 48 4d 6a 52 76 59 7a 4a 6b 64 6e 70 35 63 |jBHMjRvYzJkdnp5c| 00000010 55 68 36 4f 47 67 30 65 57 52 6e 56 33 46 6f 64 |Uh6OGg0eWRnV3Fod| 00000020 48 52 70 64 57 78 54 4d 58 68 30 4e 58 41 35 5a |HRpdWxTMXh0NXA5Z| 00000030 47 31 74 61 6e 4e 61 61 31 52 69 55 55 74 4d 4f |G1tanNaa1RiUUtMO| 00000040 46 56 44 4f 56 6b 39 49 69 77 69 62 57 46 6a 49 |FVDOVk9IiwibWFjI| 00000050 6a 6f 69 5a 54 56 6c 4d 6a 4d 77 4e 6d 52 68 4d |joiZTVlMjMwNmRhM| 00000060 44 5a 6a 59 7a 6b 34 4f 47 45 79 5a 6a 51 32 4d |DZjYzk4OGEyZjQ2M| 00000070 7a 63 7a 5a 57 45 33 5a 6d 4e 69 4e 7a 55 79 4f |zczZWE3ZmNiNzUyO| 00000080 44 6c 6a 4f 47 45 7a 4d 47 4a 6a 59 6a 46 69 59 |DljOGEzMGJjYjFiY| 00000090 6a 63 7a 4e 6a 51 35 4f 47 55 79 4e 47 4d 35 4f |jczNjQ5OGUyNGM5O| 000000a0 47 4a 69 4f 54 41 34 5a 43 4a 39 0d 0a 24 33 0d |GJiOTA4ZCJ9..$3.| 000000b0 0a 31 2e 30 0d 0a 24 39 33 0d 0a 2f 64 69 76 23 |.1.0..$93../div#| 000000c0 73 69 74 65 57 72 61 70 2f 64 69 76 2e 65 72 72 |siteWrap/div.err| 000000d0 6f 72 43 6f 6e 74 61 69 6e 65 72 2f 61 2e 62 74 |orContainer/a.bt| 000000e0 6e 2e 65 72 72 6f 72 43 6f 6e 74 61 69 6e 65 72 |n.errorContainer| 000000f0 5f 62 75 74 74 6f 6e 2e 6c 69 6e 65 31 5e 41 5e |_button.line1^A^| 00000100 68 74 74 70 73 3a 2f 2f 77 77 77 2e 67 65 61 72 |https://www.gear| 00000110 62 65 73 74 2e 63 6f 6d 0d 0a 2a 33 0d 0a 24 36 |best.com..3..$6| 00000120 0d 0a 45 58 50 49 52 45 0d 0a 24 34 37 39 0d 0a |..EXPIRE..$479..| 00000130 64 61 74 61 76 3a 63 6c 69 63 6b 3a 73 6f 72 74 |datav:click:sort| 00000140 3a 64 61 74 65 3a 32 30 31 38 2d 31 31 2d 31 32 |:date:2018-11-12| 00000150 3a 64 6f 6d 61 69 6e 3a 6c 6f 67 69 6e 2e 67 65 |:domain:login.ge| 00000160 61 72 62 65 73 74 2e 63 6f 6d 3a 70 61 67 65 3a |arbest.com:page:| 00000170 2f 72 65 67 69 73 74 65 72 2f 61 63 74 69 76 61 |/register/activa| 00000180 74 69 6f 6e 2d 65 6d 61 69 6c 2f 65 79 4a 70 64 |tion-email/eyJpd|

i meet this error . what did that mean ? There are many key inconsistencies in this error reporting migration. Can you explain? Thank you!

tanruixing88 commented 5 years ago

try it https://github.com/tanruixing88/redis-migrate-tool

man-laughing commented 4 years ago

have same problem .

man-laughing commented 4 years ago

@tanruixing88 thank you,it works.