citusdata / citusdata/citus

Suggestion on CreateShardsWithRoundRobinPolicy

Open
#2,348 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

Workers in workerNodeList are sorted by hostname and port. Supposing serveral workers on one host and replicationFactor more than 1, then all replications of one shard were placed on one host. It's SPOF and may lead to data loss. It's reasonable to add a new sort method port prior to hostname.

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.