Terracotta-OSS / terracotta-platform

http://terracotta.org
Apache License 2.0
32 stars 48 forks source link

`config-tool activate -stripe <[name/]hostname[:port]|hostname[:port]|…>` #1141

Closed mathieucarbou closed 1 year ago

mathieucarbou commented 1 year ago

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:

mathieucarbou commented 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!

mathieucarbou commented 1 year ago

@mobasherul : finished adding a couple of tests. All works fine, PR ready to review and merge :-)