Skip to content
This repository has been archived by the owner on Sep 22, 2020. It is now read-only.

torusctl: support specifying ring type by init command #335

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

torusctl: support specifying ring type by init command #335

wants to merge 3 commits into from

Conversation

nak3
Copy link
Contributor

@nak3 nak3 commented Sep 25, 2016

torusctl: support specifying ring type by init command

Currently, torusctl init doesn't allow to specify ring type and number of replications. To use mod or other ring type and update the replication number, two steps, creating a ring and manual-change, are necessary.

This patch changes to:

  • remove --no-ring option from torusctl init
  • add --type option to torusctl init (default ketama)
  • add --replication option to torusctl init

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant