Skip to content
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的性能问题 #835

Open
blight19 opened this issue Jun 24, 2024 · 1 comment
Open

scan模式开启ksn的性能问题 #835

blight19 opened this issue Jun 24, 2024 · 1 comment
Assignees
Labels
type: feature request New feature or request

Comments

@blight19
Copy link
Contributor

在生产中遇到,由于版本比较老,只能用scan模式,scan开启ksn增量的时候,源码中的处理方式是订阅频道后都重新dump和restore,
生产中有个bigkey,每次修改的量比较小,但是每次都重传,源库性能消耗比较大。是否可以根据ksn中的信息进行命令同步,不是采用dump+restore的方式。
但是这种方式又带来一种新的问题,scan未完成的过程中,命令的处理无法是否已经同步过了,可能会执行重复了。难搞。

@blight19 blight19 added the type: feature request New feature or request label Jun 24, 2024
@suxb201
Copy link
Member

suxb201 commented Jun 24, 2024

搞不定,要不就过滤掉这个 key?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants