scylladb / scylla-tools-java

Apache Cassandra, supplying tools for Scylla
Apache License 2.0
53 stars 85 forks source link

Nodetool status reports 'UN' status for an initializing node during replace-node operation #290

Open yarongilor opened 2 years ago

yarongilor commented 2 years ago

During the nodetool operation of replace node, the replacing node is reported with a status of "UN" when it is still not really normal but rather in initializing state. it should report a different status like "UJ" for example.

see example in this comment: https://github.com/scylladb/scylla/issues/9629#issuecomment-998926636

The original scylla issues with details are: https://github.com/scylladb/scylla/issues/9629#issuecomment-1046703526 and: https://github.com/scylladb/scylla/issues/1793

roydahan commented 2 years ago

@slivne who should look at it?

roydahan commented 2 years ago

@asias / @bhalevy ?

bhalevy commented 2 years ago

What's the direction for the fix? Add a "R" status for replacing?

slivne commented 2 years ago

@asias / this maybe related to repair-based-node-operations as we moved replace to use repair=-based-node-operations