Closed smukil closed 5 years ago
FYI, the output looks like this when starting up a test cluster:
Cluster topology:-
* DC: dc1
* Rack: rack1
* Node: DynoNode: 127.0.1.2:8102 || PID: 11876
* DC: dc2
* Rack: rack1
* Node: DynoNode: 127.0.1.3:8102 || PID: 11886
* Rack: rack2
* Node: DynoNode: 127.0.1.4:8102 || PID: 11893
* Node: DynoNode: 127.0.1.5:8102 || PID: 11900
* Rack: rack3
* Node: DynoNode: 127.0.1.6:8102 || PID: 11907
* Node: DynoNode: 127.0.1.7:8102 || PID: 11914
* Node: DynoNode: 127.0.1.8:8102 || PID: 11921
* Node: DynoNode: 127.0.1.9:8102 || PID: 11928
/ / Waiting for cluster to start / /
LGTM
This patch prints the cluster topology information when starting a test cluster, along with the PIDs of each Dyno node which is useful for quicker debugging (attaching GDB to process, etc.).