We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
scan全量同步完后,我往源端redis插入一个key,到目的端没有查到对应的内容,是哪里配置不太对吗
2024-11-26 08:20:57 INF read_count=[218627340], read_ops=[70941.88], write_count=[218627340], write_ops=[70941.88], scan_dbid=[4], scan_percent=[90.26%], need_update_count=[99999] 2024-11-26 08:21:02 INF read_count=[218909706], read_ops=[56470.72], write_count=[218909706], write_ops=[56470.72], need_update_count=[0] 2024-11-26 08:21:07 INF read_count=[218909706], read_ops=[0.00], write_count=[218909706], write_ops=[0.00], need_update_count=[0] 2024-11-26 08:21:12 INF read_count=[218909706], read_ops=[0.00], write_count=[218909706], write_ops=[0.00], need_update_count=[0] 2024-11-26 08:21:17 INF read_count=[218909706], read_ops=[0.00], write_count=[218909706], write_ops=[0.00], need_update_count=[0] 2024-11-26 08:21:22 INF read_count=[218909706], read_ops=[0.00], write_count=[218909706], write_ops=[0.00], need_update_count=[0] 2024-11-26 08:21:27 INF read_count=[218909706], read_ops=[0.00], write_count=[218909706], write_ops=[0.00], need_update_count=[0] 2024-11-26 08:21:32 INF read_count=[218909706], read_ops=[0.00], write_count=[218909706], write_ops=[0.00], need_update_count=[0] 2024-11-26 08:21:37 INF read_count=[218909706], read_ops=[0.00], write_count=[218909706], write_ops=[0.00], need_update_count=[0] 2024-11-26 08:21:42 INF read_count=[218909706], read_ops=[0.00], write_count=[218909706], write_ops=[0.00], need_update_count=[0] 2024-11-26 08:21:47 INF read_count=[218909706], read_ops=[0.00], write_count=[218909706], write_ops=[0.00], need_update_count=[0]
请提供任何其他相关的信息,如配置文件、错误信息或截图等。
配置文件 [scan_reader] cluster = false address = "xxxxxxx:6379" tls = false scan = true ksn = true count = 100000
[redis_writer] cluster = true address = "xxxxxxx:6379" tls = false off_reply = false
The text was updated successfully, but these errors were encountered:
https://tair-opensource.github.io/RedisShake/zh/reader/scan_reader.html
Redis 在默认情况下不会开启 notify-keyspace-events 配置,需要手动开启,保证值中含有 AE。
Sorry, something went wrong.
感谢回复,notify-keyspace-events 配置为AKE 测试了一下,全量同步期间和全量同步后手动set几条好像还是无法增量同步,不知道是哪里有问题 用的是多DB单机elasticcache --> OCI的自建cluster集群 会跟我改的代码有关吗?我这个写死了theEntry.DbId = 0
@lianzekunqiliangjia 你手动 set 的几条是 db0 吗?
不是的,改这个会影响reader读取的DbId吗?
No branches or pull requests
问题描述(Issue Description)
scan全量同步完后,我往源端redis插入一个key,到目的端没有查到对应的内容,是哪里配置不太对吗
环境信息(Environment)
日志信息(Logs)
2024-11-26 08:20:57 INF read_count=[218627340], read_ops=[70941.88], write_count=[218627340], write_ops=[70941.88], scan_dbid=[4], scan_percent=[90.26%], need_update_count=[99999]
2024-11-26 08:21:02 INF read_count=[218909706], read_ops=[56470.72], write_count=[218909706], write_ops=[56470.72], need_update_count=[0]
2024-11-26 08:21:07 INF read_count=[218909706], read_ops=[0.00], write_count=[218909706], write_ops=[0.00], need_update_count=[0]
2024-11-26 08:21:12 INF read_count=[218909706], read_ops=[0.00], write_count=[218909706], write_ops=[0.00], need_update_count=[0]
2024-11-26 08:21:17 INF read_count=[218909706], read_ops=[0.00], write_count=[218909706], write_ops=[0.00], need_update_count=[0]
2024-11-26 08:21:22 INF read_count=[218909706], read_ops=[0.00], write_count=[218909706], write_ops=[0.00], need_update_count=[0]
2024-11-26 08:21:27 INF read_count=[218909706], read_ops=[0.00], write_count=[218909706], write_ops=[0.00], need_update_count=[0]
2024-11-26 08:21:32 INF read_count=[218909706], read_ops=[0.00], write_count=[218909706], write_ops=[0.00], need_update_count=[0]
2024-11-26 08:21:37 INF read_count=[218909706], read_ops=[0.00], write_count=[218909706], write_ops=[0.00], need_update_count=[0]
2024-11-26 08:21:42 INF read_count=[218909706], read_ops=[0.00], write_count=[218909706], write_ops=[0.00], need_update_count=[0]
2024-11-26 08:21:47 INF read_count=[218909706], read_ops=[0.00], write_count=[218909706], write_ops=[0.00], need_update_count=[0]
其他信息(Additional Information)
请提供任何其他相关的信息,如配置文件、错误信息或截图等。
配置文件
[scan_reader]
cluster = false
address = "xxxxxxx:6379"
tls = false
scan = true
ksn = true
count = 100000
[redis_writer]
cluster = true
address = "xxxxxxx:6379"
tls = false
off_reply = false
The text was updated successfully, but these errors were encountered: