dcos-cassandra-service
dcos-cassandra-service copied to clipboard
Incorrect order in which CassandraDaemon nodes are started when cluster size is > 10
I started a 20-node Cassandra cluster and the nodes start in the order: node-0, node-1, node-10, node-11,.., node19, node-2, node-3, ..., node-9
This is because we internally sort them by their names. We can either: a) Change the sorting code to correctly sort it b) Change the node names to be node-000, node-001, node-002, etc. (assuming no-one is going to start a cluster with > 1000 nodes)
@kow3ns @mohitsoni What do you guys think?
@gabrielhartmann @mohitsoni Will this be fixed in the new dcos-commons or should I send a PR to fix it in dcos-cassandra-service?