-
Notifications
You must be signed in to change notification settings - Fork 466
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
kvrocks2redis can't sync flush commands #2177
Comments
@iushas Thanks for your report, will take a look soon. |
|
Got your point, that said this issue only happened while syncing from the replica node and works well in the master node. |
yes, Not sure if there are any other commands that would have this problem |
It's caused by the rocksdb's DeleteRange API which we didn't implement the batch extractor. And for parsing from the master node should have the same issue, guess the AFAIK, the DeleteRange API is only used in FLUSHDB/FLUSHALL command, so it should only affect those two. |
MULTI/EXEC has the same problem
ERR Not implemented: DeleteRange unsupported in WriteBatchWithIndex |
Search before asking
Version
unstable 70fac37 Fri Feb
Minimal reproduce step
master -> slave -> kvrocks2redis -> target
1、master flush
2、aof only write one del command
What did you expect to see?
write flushcommand to aof file
What did you see instead?
aof only write one del command
Anything Else?
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: