suxb201
suxb201
稳定复现吗 😂 下次遇到可以发一下 191995229118.aof 这个文件吗?
这个是源端把连接断掉了,请提供下同时刻源端 Redis 的日志。一般是源端缓冲区满了,需要调整缓冲区大小。
看这里,阿里云 4.x 版本 Redis 有自定义命令,需要过滤掉:https://github.com/alibaba/RedisShake/wiki/%E4%BB%8E%E5%B8%B8%E8%A7%81%E4%BA%91%E5%8E%82%E5%95%86%E8%BF%81%E5%87%BA%E6%95%B0%E6%8D%AE
明白了,对于不认识的命令 redis-shake 会报出来。这个场景 opinfo 比较多,所以 warn 也比较多。你可以把 redis-shake 对应 log 注释。
代码中搜 "unknown command. argv" 找到对应行注释掉就好。
The meaning of the error is: the target does not support the "PUBLISH" command. > error=[ERR Unsupported command], argv=[PUBLISH __sentinel__:hello 1***] Is the target a standard Redis cluster, and whether...
@junhok82 Use `filter` to filter all `PUBSUB` commands: ```lua -- skip all pub-sub commands function filter(id, is_base, group, cmd_name, keys, slots, db_id, timestamp_ms) if group == "PUBSUB" then return 1,...
日志,配置 发一下
参考这里:https://github.com/alibaba/RedisShake/wiki/%E4%BD%BF%E7%94%A8-filters-%E5%81%9A%E6%95%B0%E6%8D%AE%E6%B8%85%E6%B4%97#filter-%E8%84%9A%E6%9C%AC%E4%B9%A6%E5%86%99%E8%AF%B4%E6%98%8E