dcos-cassandra-service icon indicating copy to clipboard operation
dcos-cassandra-service copied to clipboard

Incorrect order in which CassandraDaemon nodes are started when cluster size is > 10

Open verma7 opened this issue 8 years ago • 1 comments

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?

verma7 avatar May 04 '16 02:05 verma7

@gabrielhartmann @mohitsoni Will this be fixed in the new dcos-commons or should I send a PR to fix it in dcos-cassandra-service?

verma7 avatar Nov 29 '16 02:11 verma7