commit | d65de0acb4a70d5b24154f2281f906ffeabdf242 | [log] [tgz] |
---|---|---|
author | WEI Xikai <ShiKaiWi@users.noreply.github.com> | Thu Oct 19 16:16:28 2023 +0800 |
committer | GitHub <noreply@github.com> | Thu Oct 19 16:16:28 2023 +0800 |
tree | 06b330ae783fdc38dd276c121b9670a0067e1309 | |
parent | 78483af3d965a6ba8770213dd4e06966f6d0ee5f [diff] |
chore: upgrade golang to v1.21 and tool chains (#260) ## Rationale Close #257 #256 ## Detailed Changes - Upgrade to go1.21 - Upgrade tool chains for project, especially golangci-lint. The `exhaustruct` linter has been activated to prevent uninitialized fields of any struct (except the third-party structs). ## Test Plan Should pass the current unit and integration tests.
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.