Hi, All,

We have an Cassandra environment with two connected DCs and our consistency 
level of writing operation is EACH_QUORUM.
So if one DC is down, the write will be failed and we get 
TokenRangeOfflineException on the client side (we use netfilix java client 
libraries).

We want to give more detailed information about this failure. e.g. The IP 
addresses of the broken nodes (on the broken DC in our case).
We checked the TokenRangeOfflineException and its parent class 
ConnectionException.  The only related method is getHost().
But it returns the IP address of the local node (the node that issues the 
writing operation) instead of the remote node on the broken DC.

Does anyone know how to get such information when writing failed?

Thanks

Boying

Reply via email to