commit | 7e5268a39fc73f047a383490c971d3aa249aa76b | [log] [tgz] |
---|---|---|
author | CooooolFrog <zuliangwanghust@gmail.com> | Thu Dec 28 17:11:41 2023 +0800 |
committer | WEI Xikai <ShiKaiWi@users.noreply.github.com> | Wed Jan 10 15:30:22 2024 +0800 |
tree | 71f5be180d0c96732107b626428a8bbaec0bf718 | |
parent | 475647fce2a7876cdf133b894a93dc10c05b0027 [diff] |
feat: add drop shard node api (#295) ## Rationale In some extreme cases (for this situation, please refer to https://github.com/apache/incubator-horaedb-meta/issues/296), the shard node cannot be cleaned normally, and we need to add an operation and maintenance interface to complete manual cleaning. ## Detailed Changes * Add drop shard node api. ## Test Plan Pass CI.
HoraeMeta is the meta service for managing the HoraeDB cluster.
The project is in a very early stage.
make build
Although HoraeMeta is designed to deployed as a cluster with three or more instances, it can also be started standalone:
# HoraeMeta0 mkdir /tmp/meta0 ./bin/horaemeta-server --config ./config/example-standalone.toml
Here is an example for starting HoraeMeta in cluster mode (three instances) on single machine by using different ports:
# Create directories. mkdir /tmp/meta0 mkdir /tmp/meta1 mkdir /tmp/meta2 # horaemeta0 ./bin/horaemeta-server --config ./config/exampl-cluster0.toml # horaemeta1 ./bin/horaemeta-server --config ./config/exampl-cluster1.toml # horaemeta2 ./bin/horaemeta-server --config ./config/exampl-cluster2.toml
HoraeMeta refers to the excellent project pd in design and some module and codes are forked from pd, thanks to the TiKV team.
The project is under rapid development so that any contribution is welcome. Check our Contributing Guide and make your first contribution!
HoraeMeta is under Apache License 2.0.