citusdata / citusdata/citus

Make shard placement policies rack-aware

Open
#461 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
12.8k
Forks
794
Avg merge
2d 14h
Merged PRs (30d)
31

Description

We allow users to provide rack identifiers for worker nodes in pg_worker_list.conf. If a shard placement policy is rack-ware, it tries to put different shard placements into different racks in order to prevent data loss in the event of a rack failure.

Currently, rack-aware shard placement policies(Random and Local Node First) [have some problems](https://github.com/citusdata/citus/issues/358#issuecomment-212389048), and round-robin shard policy is not rack-aware.

Related to #358

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.