Replies: 1 comment
-
I prefer the first solution, but it may need some time to test if this PR works well. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, kvrocks performs slot migration by converting every batch data to RESP command and then sending it to the destination. But I found it's hard to extract RESP about
bf.madd
from batch for two reason:key
andvalue
, and we can't get items from value(like bitmap), it's a irreversible conversion.args
in advance for we can't use different args[i] in different batches.I find two way to resolve it:
bf.madd
batch would be converted to this RESP command. The batch's value as the command data.Which way would work, or have some other ways?
[1] https://redis.io/commands/bf.loadchunk/
Beta Was this translation helpful? Give feedback.
All reactions