Posts

How to Fix Cassandra Consistency Issues using Read Repair

Why Consistency Issues or C in CAP theorem As many of you probably knows Cassandra is a AP big data storage. In other words when a network partition happens Cassandra remains Available and relaxes the Consistency property. It is always said that it is eventually consistent or in other words it will be consistent at some point in time in future. The important things to know which is not really obvious are: Cluster does become inconsistent pretty often . Sure, there are many things influencing the stability of the cluster, such as proper configuration, dedicated resources, production load, professionalism of the ops guys etc, but the fact is the probability the nodes are going down from time to time and therefore the data become inconsistent are really high. Cluster does  NOT become consistent again automatically. This is something which goes against the god feeling towards the modern and mature distributed systems. Unless you have the enterprise version of Datastax and enable one the l