commit | 40ccbe8fe723d974808e1e3c99a7677133a10ea3 | [log] [tgz] |
---|---|---|
author | WEI Xikai <ShiKaiWi@users.noreply.github.com> | Thu Oct 19 17:31:43 2023 +0800 |
committer | GitHub <noreply@github.com> | Thu Oct 19 04:31:43 2023 -0500 |
tree | a7d981862de993fb81137a0ecaeae17bf834d609 | |
parent | d65de0acb4a70d5b24154f2281f906ffeabdf242 [diff] |
fix: nil resp if no need to forward (#261) ## Rationale The response is nil if there is no need to do http fowarding. ## Detailed Changes Only close the resp body if the http request needs forward. ## 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.