Closed mathieucarbou closed 1 year ago
@mobasherul : this is still in progress but 80% done. I just need to add some tests and verify the logic.
You can start reviewing in case you see something I missed in the logic ;-)
Thanks!
@mobasherul : finished adding a couple of tests. All works fine, PR ready to review and merge :-)
Allows to quickly activate a cluster when all nodes are already started with the right parameters
Examples:
config-tool -cluster-name tc-cluster -stripe node-1-1:9410|node-1-2,node-2-1:9410|node-2-2
config-tool -cluster-name tc-cluster -stripe node-1-1:9410|node-1-2 -stripe node-2-1:9410|node-2-2
config-tool -cluster-name tc-cluster -stripe stripe1/node-1-1:9410|node-1-2,stripe2/node-2-1:9410|node-2-2
Notes:
/
and|
) are not a choice but more constrained coming from the set of characters that we do not allow to have in both hostnames and stripe names. Also,
is already taken by JCommander to split parameter values.