enonic / cli-enonic

GNU General Public License v3.0
41 stars 1 forks source link

Allow setting number of replicas to 0 #260

Closed hjelmevold closed 3 years ago

hjelmevold commented 3 years ago

XP 7.4.1, CLI 1.4.0

When setting number of replicas to 0 in Enonic CLI, I get the following prompt:

$ ./enonic repo replicas
Enter number of replicas (1-99):

In order to set the number of replicas to 0, I must enter "1". So currently it seems like this number represents the number of nodes, not number of replicas.

rymsha commented 3 years ago

Can you check if you can set replicas to 0 via https://developer.enonic.com/docs/xp/stable/runtime/management#settings

If yes, this is a CLI bug