-
Notifications
You must be signed in to change notification settings - Fork 715
New issue
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模式开启KSN好像还是无法同步增量数据 #889
Comments
https://tair-opensource.github.io/RedisShake/zh/reader/scan_reader.html
|
感谢回复,notify-keyspace-events 配置为AKE 测试了一下,全量同步期间和全量同步后手动set几条好像还是无法增量同步,不知道是哪里有问题 用的是多DB单机elasticcache --> OCI的自建cluster集群 |
@lianzekunqiliangjia 你手动 set 的几条是 db0 吗? |
不是的,改这个会影响reader读取的DbId吗? |
|
确实存在增量不同步的问题。我在db 0 和db1. 中进行修改,是可以同步的。但是切换db10 ,就不同步了。源和目的都是主从版redis 7.0 。 [scan_reader] |
问题描述(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: