I am looking for some ideas on achieving a consistency of EACH_QUORUM on a 3 datacenter scenario, with a tolerance for 1 data center loss for writes.
Based on my understanding, EACH_QUORUM does not tolerate a data center loss. All my writes will fail as long as the data center is down. One option, is to retry the request with lower consistency level like 'QUORUM'.
Option I am looking for is, if there is a way to remove the failed DC and achieve EACH_QUORUM on remaining 2 live datacenters. From server side, only way I can think of is decommission all the nodes of failed datacenter, which is cumbersome.
Assuming that my client application knows that a datacenter is down, is there a way from Cassandra client driver to pass in a list of live datacenters, so the coordinator node tries to achieve EACH_QUORUM only on those datacenters.
Would appreciate any insight on this.