我运行了一个使用redis的discord机器人,但是昨天我关闭了该机器人并重新启动它以应用更新后,这发生了。有人知道吗?
redis-data | --- RDB ERROR DETECTED ---
redis-data | [offset 119004] Invalid LZF compressed string
redis-data | [additional info] While doing: read-object-value
redis-data | [additional info] Reading key 'stupidstuff'
redis-data | [additional info] Reading type 2 (set-hashtable)
redis-data | [info] 10 keys read
redis-data | [info] 3 expires
redis-data | [info] 0 already expired
redis-data exited with code 1
这是整个控制台日志: https://pastebin.com/MTPBsKGm
答案 0 :(得分:0)
这可能是转储文件。rdb已损坏。尝试运行以下命令来清理redis db dump日志:
docker volume ls - to find the volume used your redis conrtainer
docker volume rm <name> - to remove the