Re: Detecting data centre failure

2018-04-19 Thread Niclas Hedhman
Also beware of "DC goes down" is not necessarily a total failure. It may be only a given client that doesn't see the DC, it may be that some hosts in one DC sees some hosts in the other DC and so on... The black/white "DC goes down" perception may lead to poor decisions on how to deal with failures

Re: Detecting data centre failure

2018-04-19 Thread Jeff Jirsa
Many drivers have a downgrading consistency feature that does it for you, but really you probably want to catch the timeout or unavailable exception and handle it in your app -- Jeff Jirsa > On Apr 19, 2018, at 5:52 AM, Venkata Hari Krishna Nukala > wrote: > > Hi, > > I am working on a C*

Detecting data centre failure

2018-04-19 Thread Venkata Hari Krishna Nukala
Hi, I am working on a C* cluster which is installed on two data centres. Our app is in installed on those data centres and they serve life traffic all the time. Keyspaces are configure with NetworkTopologyStrategy and we are using LOCAL_QUORUM. Now I have got a case where stronger consistency is