Parameter count of "cluster:group-pick" is not working
------------------------------------------------------
Key: KARAF-1326
URL: https://issues.apache.org/jira/browse/KARAF-1326
Project: Karaf
Issue Type: Bug
Components: cellar-shell
Affects Versions: cellar-2.2.4
Reporter: Georg-Victor Voutsinos
Priority: Minor
Attachments: group-pick-count-issue.png
The count parameter of the cluster command "cluster:group-pick" is not working.
It always moves "all" nodes from the source group to the destination group (see
attached images) - except the parameter value exceeds the number of existing
nodes in a group - in this case it shows an error message, So the count
parameter is active and not deprecated or obsolete.
1.cluster:group-list
there are three nodes in group5
2.cluster:group-pick group5 group3
(count=default value)
3.cluster:group-pick group3 group1 1
(count=1)
4.cluster:group-pick group1 group2 2
(count=2)
5.cluster:group-pick group2 group5 3
(count=3)
6.cluster:group-pick group5 group1 4
(count=4)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira