commit | ce995e2422010d9096c9c6a95eb2f6293198404f | [log] [tgz] |
---|---|---|
author | CooooolFrog <zuliangwanghust@gmail.com> | Thu Jan 11 15:38:59 2024 +0800 |
committer | jiacai2050 <dev@liujiacai.net> | Mon Jan 15 10:32:58 2024 +0800 |
tree | 71cd5cc69c4e76619036264c3a2262fc7b94ccb8 | |
parent | a76d770b929a1ca7562d477035eae3d31f50305a [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.
CeresMeta is the meta service for managing the CeresDB cluster.
The project is in a very early stage.
make build
Although CeresMeta is designed to deployed as a cluster with three or more instances, it can also be started standalone:
# ceresmeta0 mkdir /tmp/ceresmeta0 ./ceresmeta --config ./config/example-standalone.toml
Here is an example for starting CeresMeta in cluster mode (three instances) on single machine by using different ports:
# Create directories. mkdir /tmp/ceresmeta0 mkdir /tmp/ceresmeta1 mkdir /tmp/ceresmeta2 # Ceresmeta0 ./ceresmeta --config ./config/exampl-cluster0.toml # Ceresmeta1 ./ceresmeta --config ./config/exampl-cluster1.toml # Ceresmeta2 ./ceresmeta --config ./config/exampl-cluster2.toml
CeresMeta 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!
CeresMeta is under Apache License 2.0.