yugabyte/yugabyte-db

yb-admin: Add Argument for Num Replicas to modify_placement_info

Open

#7,057 opened on Feb 1, 2021

View on GitHub
 (2 comments) (0 reactions) (1 assignee)C (1,003 forks)batch import
area/toolsgood first issue

Repository metrics

Stars
 (8,229 stars)
PR merge metrics
 (Avg merge 17d 21h) (92 merged PRs in 30d)

Description

See https://docs.yugabyte.com/latest/admin/yb-admin/#modify-placement-info for the current usage of modify-placement-info. Currently this precludes users from specifying how many replicas belong in each availability zone specified. To fix, this make the placement_info field a comma separated list of cloud1.datacenter1.rack1:num_replicas.

Contributor guide