xq2010 commented on PR #1798:
URL: https://github.com/apache/kvrocks/pull/1798#issuecomment-1752427143
> Hi @xq2010 Thanks for your excellent contribution first!↳
>
> About how to load the RDB file, I'm wondering if it's better to export a
command to do this. For example, we can support a new command like `load $type
$path` which allows loading RDB file from local.↳
>
> ```shell
> $ redis-cli 6666> load RDB /path/to/your/rdb_file
> ```
>
> So that we don't need to introduce a new tool. How do you feel about this?
cc @apache/kvrocks-committers↳
If we add the 'load rdb' command, we need to determine how to process an
existing key that's present in both kvrocks and rdb, particularly when the
key's type is a string in rdb. It will overwrite the existing key in kvrocks,
which may be of a different type."
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]