thelastpickle / cassandra-reaper

Automated Repair Awesomeness for Apache Cassandra
http://cassandra-reaper.io/
Apache License 2.0
481 stars 217 forks source link

Exceptions are being raised when using LOCAL mode with the mgmt-api #1432

Closed adejanovski closed 8 months ago

adejanovski commented 8 months ago

Project board link

When using Reaper in LOCAL dc Availability mode and the management api used for communications, exceptions are being raised and the app cannot work properly. This is due to a wrong implementation of getUntranslatedHost() which returns the local endpoint whereas it should return the target connection host without any address translation.