commit | a8d90e3030996658a00c1235857e728376bc91e3 | [log] [tgz] |
---|---|---|
author | CooooolFrog <zuliangwanghust@gmail.com> | Fri Dec 30 18:44:21 2022 +0800 |
committer | GitHub <noreply@github.com> | Fri Dec 30 18:44:21 2022 +0800 |
tree | c813230313cf9f12bf3ac8bdb03971e9a5d77182 | |
parent | d66bc427804017e54da3d4a002788da42eb97a6b [diff] |
feat: support alloc shard on same node (#125) * docs: fix example config * feat: support alloc shard on duplicate node
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:
# Set correct HostIP here. export HostIP0={your_ip} # 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:
# Set correct HostIP here. export HostIP0={your_ip} export HostIP1={your_ip} export HostIP2={your_ip} # 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.