commit | 3075197748a1ac9789bceb278ee74c407c05b5e9 | [log] [tgz] |
---|---|---|
author | WEI Xikai <ShiKaiWi@users.noreply.github.com> | Mon Oct 02 14:45:39 2023 +0800 |
committer | GitHub <noreply@github.com> | Mon Oct 02 14:45:39 2023 +0800 |
tree | c5c988532cf9c9dce100d5576d70cf09e3498c94 | |
parent | a12b7fc5d42c5fd0cb843d5d020052de1faade30 [diff] |
fix: allow rebalance scheduler to run on the unstable cluster (#243) ## Rationale Currently, the cluster state can't be stable after `AssignShardScheduler` is removed in #236. And this results from that the `RebalancedShardScheduler` won't schedule if the cluster state is not stable. ## Detailed Changes Allow the `RabalancedShardScheduler` to run on the unstable cluster. ## Test Plan Manual test.
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.