Make shard placement policies rack-aware
Open
- 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
Assessment
This issue has not been assessed yet.