Help us shape the future of Go! Take the 2026 Go Developer Survey

incubator-horaedb-meta

module
v1.2.8-0...-3c6b5ab Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2024 License: Apache-2.0

README

⚠ This repository has been deprecated at 2024-01-25, further development will move to here.


HoraeMeta

codecov License

HoraeMeta is the meta service for managing the HoraeDB cluster.

Status

The project is in a very early stage.

Quick Start

Build HoraeMeta binary
make build
Standalone Mode

Although HoraeMeta is designed to deployed as a cluster with three or more instances, it can also be started standalone:

# HoraeMeta0
mkdir /tmp/meta0
./bin/horaemeta-server --config ./config/example-standalone.toml
Cluster mode

Here is an example for starting HoraeMeta in cluster mode (three instances) on single machine by using different ports:

# Create directories.
mkdir /tmp/meta0
mkdir /tmp/meta1
mkdir /tmp/meta2

# horaemeta0
./bin/horaemeta-server --config ./config/exampl-cluster0.toml

# horaemeta1
./bin/horaemeta-server --config ./config/exampl-cluster1.toml

# horaemeta2
./bin/horaemeta-server --config ./config/exampl-cluster2.toml

Acknowledgment

HoraeMeta refers to the excellent project pd in design and some module and codes are forked from pd, thanks to the TiKV team.

Contributing

The project is under rapid development so that any contribution is welcome. Check our Contributing Guide and make your first contribution!

License

HoraeMeta is under Apache License 2.0.

Directories

Path Synopsis
cmd
pkg
log
coordinator/scheduler/nodepicker/hash
This file is copied from: https://github.com/buraksezer/consistent/blob/4516339c49db00f725fa89d0e3e7e970e4039af0/consistent.go Package hash provides a consistent hashing function with bounded loads.
This file is copied from: https://github.com/buraksezer/consistent/blob/4516339c49db00f725fa89d0e3e7e970e4039af0/consistent.go Package hash provides a consistent hashing function with bounded loads.
id

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL