apache / kvrocks

Apache Kvrocks is a distributed key value NoSQL database that uses RocksDB as storage engine and is compatible with Redis protocol.
https://kvrocks.apache.org/
Apache License 2.0
3.54k stars 465 forks source link

[BUG] kvrocks2redis was unable to sync to other Kvrocks's namespaces except default #489

Open xyxu opened 2 years ago

xyxu commented 2 years ago

redis_writer.cc:115] [kvrocks2redis] CRITICAL - redis sync return error , administrator confirm needed : -administor permission required to perform the command

git-hulk commented 2 years ago

Yes, thanks for your feedback. We should use flushdb instead of flushall when flushing the target db.

caipengbo commented 2 years ago

I'll fix it as soon as possible.

caipengbo commented 2 years ago

What @git-hulk mentioned is indeed a problem, but I don't think it is the cause of your problem. Can you provide more information (Your kvrocks2redis configuration; Your behavior at the Kvrocks) @xyxu