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.44k stars 442 forks source link

The kvrocks cluster information cannot be reset #1242

Open QQxiaoyuyu opened 1 year ago

QQxiaoyuyu commented 1 year ago

Search before asking

Motivation

kvrocks cluster information cannot be reset

Solution

kvrocks cluster information cannot be reset,please support reset

Are you willing to submit a PR?

git-hulk commented 1 year ago

@QQxiaoyuyu Thanks for your feedback, it makes sense to allow resetting the cluster nodes in flight. The kvrocks controller also needs this feature to reset the cluster after destroying the cluster.

segment11 commented 1 year ago

You can delete all shard nodes one by one. Use this may help. https://github.com/segment11/segment_kvrocks_controller