tair-opensource / RedisShake

RedisShake is a Redis data processing and migration tool.
https://tair-opensource.github.io/RedisShake/
MIT License
3.86k stars 700 forks source link

关于RedisShake运行中的日志含义 #832

Open strongworker opened 5 months ago

strongworker commented 5 months ago

问题描述(Issue Description)

psync模式时,会持续打印进度相关日志,其中有些字段含义,不清楚(也未找到相应资料),特请教,麻烦抽空回答,感谢。

环境信息(Environment)

日志信息(Logs)

read_count=[540592383], read_ops=[103659.20], write_count=[540592382], write_ops=[103659.20], src-0, syncing aof, diff=[2843459644]

问题

请问下,aof同步过程中,字段:read_count,read_ops,write_count,write_ops,diff的含义,麻烦抽空回答,感谢

spihiker commented 5 months ago

Produced by Alibaba, it is really useful. However, the documentation is indeed simpler than the previous 2.0 version. Things like filtering and conversion used to be placed in configuration files. I think it's more convenient to use this way.

suxb201 commented 5 months ago

@strongworker 字面意思:读取数量、读取qps、写入数量、写入qps,diff 表示多少已经读取但是未写入。欢迎帮忙完善文档。

@spihiker Maybe you can take a look at https://github.com/tair-opensource/RedisShake/issues/756. The English documentation is behind the Chinese documentation (for example: https://tair-opensource.github.io/RedisShake/zh/reader/scan_reader.html), and we welcome help in improving the English documentation.