Validate if peer is in the same cluster

Description

I have two Cassandra clusters deployed in k8s (lets say A and B). It is quite dynamic environment and from time to time new Cassandra node from cluster A receives an IP from old dead node which previously was in cluster B.
It happens because system.peer table is not refreshed fast enough.

So apps using python driver and cluster B reports:


From the other hand java-driver based apps reports:

It was already fixed for java driver ( ) I think it would be good to define and describe some common way of handling such cases for all drivers. Especially that there is also some other peeres validation logic which is inconsistent between drivers (RUBY-255, PYTHON-1260, etc)

Environment

None

Pull Requests

None

Activity

Show:
Mateusz Zakarczemny
October 22, 2020, 1:45 PM

Java driver notes regarding that issue:

Assignee

Unassigned

Reporter

Mateusz Zakarczemny

Fix versions

None

Labels

None

Reproduced in

3.24

PM Priority

None

External issue ID

None

Doc Impact

None

Reviewer

None

Size

None

Pull Request

None

Priority

Major
Configure