I have a 3 DC ring in Cassandra with each DC having a 4 node cluster. So its 4 nodes*3(DC) = 12 nodes. I'm testing how Cassandra behaves when some nodes go down when we have Quorum consistency level. We have set a replication factor of 3 on each datacenter. So our
Quorum = Floor(Sum of Replication FActor/2) + 1. RF = 3 quorum= 5.
In theory if I have five nodes in my 12 node cluster, I should be good for read and write. So I brought down a full Datacenter DC1, and 3 nodes in another datacenter(Dc2). So I have 1 node up in DC2 and whole of DC3(4 nodes). I have 5 nodes up. By theory, this should be good for my writes to be succesfull in quorum consistency. But, when I ran, I get
Cassandra.Unavailable Exception: Not enough replica available for query at consistency ONE (5 required but only 4 alive).
But, I do have 5 nodes alive. What am I missing here ?