cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan King <>
Subject Re: Basic Cassandra Architecture questions
Date Fri, 11 Feb 2011 17:46:48 GMT
On Fri, Feb 11, 2011 at 9:37 AM, mcasandra <> wrote:
> Is commit log file maintained on every node that's responsible to keep key
> ranges? So if Key A is supposed to go to Node, 1,2,3 then the commit log for
> Key A will be on each of these nodes? Is this commit log like redo log of
> oracle, which is used in case of failure to roll forward/back the writes?

Sorta, the commitlog is used to rebuild the memtables when a machine restarts.

> I am trying to think why R + W > N is said to be consistent and not R + W =
> N?

You get consistency when you have a guarantee of overlap between the
read and write sets. R + W > N is just another way of saying "there
are some hosts that are in both the successful read and write sets".


View raw message