commit | 51536a12f2855d0dbb2d48ab8329b5ef1ae2aea3 | [log] [tgz] |
---|---|---|
author | CooooolFrog <zuliangwanghust@gmail.com> | Thu Jan 11 15:38:59 2024 +0800 |
committer | GitHub <noreply@github.com> | Thu Jan 11 15:38:59 2024 +0800 |
tree | d3a3fc3f426ce6ef16fbca739bfe0b78e81ddb41 | |
parent | b3d62d9cbd7e8c56c7ca77d3c627a8c881e3ae6f [diff] |
refactor: remove useless procedure persist (#300) ## Rationale Currently, the `TransferLeader` procedure will be persisted every time it is executed, but they actually have no effect. When the cluster runs for a long time, some garbage data will be generated to occupy ETCD's storage space. ## Detailed Changes * Remove useless procedure persist in `transfer_leader`. ## 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.