Crossed IPs handling #130
Labels
assess
Issues in the state 'assess'
bug
Something isn't working
casskop-compat
zh:Assess/Investigate
Originally reported in https://github.com/datastax/cass-operator/issues/312 by cscetbon
Sometimes IPs from different cassandra nodes of the same cluster can be exchanged and in that case Cassandra refuses to start. CassKop introduced a fix to this issue described here.
What it does is store the host/ID map and when it sees that the map changed with an exchange of IPs from the previous time it collected it, it kills those pods and let k8s restart them.
The current code is available at https://github.com/Orange-OpenSource/casskop/blob/v1.0.0-release/pkg/controller/cassandracluster/reconcile.go#L708-L721 and https://github.com/Orange-OpenSource/casskop/blob/v1.0.0-release/pkg/controller/cassandracluster/reconcile.go#L751-L794).
The goal of this ticket is have it handled in cass-operator.
┆Issue is synchronized with this Jira Story by Unito
┆Issue Number: CASS-59
The text was updated successfully, but these errors were encountered: