How to solve this problem, redis version is 3.2.1, the normal export rdb file, but after the export run redis-check-rdb test just exported this file will be this error:

[offset 0] Checking RDB file dump.rdb [offset 26] AUX FIELD redis-ver = '3.2.1' [offset 40] AUX FIELD redis-bits = '64' [offset 52] AUX FIELD ctime = '1687745710' [offset 67] AUX FIELD used-mem = '199983488' [offset 69] Selecting DB ID 0 --- RDB ERROR DETECTED --- [offset 23632] Invalid object type: 22 [additional info] While doing: read-type [info] 96 keys read [info] 0 expires [info] 0 already expired

日志: Internal error in RDB reading function at rdb.c:1840 -> Unknown RDB encoding type 22

Comment From: oranagra

looks like your RDB file is corrupted (type 22 doesn't exist, even in the latest version of redis). there's also a chance there's a bug in the (very old) version you're using, so i'd suggest to try a newer one. p.s. what do you mean by "export"? can you describe how you generated that file?

Comment From: caolicaoli

too old version....