cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Dennis <>
Subject Re: What if write consistency level cannot me met ?
Date Tue, 15 Feb 2011 20:11:03 GMT
But you can not depend on such behavior.  If you do a write and you get an
unavailable exception, the only thing you know is at that time it was not
able to be placed on all the nodes required to meet your CL.  It may
eventually end up on all those nodes, it may not be on any of the nodes or
at the time you read the reply it could be on some subset of the nodes.
Regardless of the outcome, it is safe to retry.

On Tue, Feb 15, 2011 at 2:00 PM, Aaron Morton <>wrote:

> The write will not start if there are insufficient nodes up. In this case
> (All cl) you would get an error and nothing would be committed to disk. You
> would get an Unavailable exception.
> Aaron
> On 16/02/2011, at 7:46 AM, Thibaut Britz <>
> wrote:
> > Your write will fail. But if the write has reached  at least one node,
> > it will eventually reach all the other nodes as well. So it won't
> > rollback.
> >
> >
> > On Tue, Feb 15, 2011 at 7:38 PM, A J <> wrote:
> >> Say I set write consistency level to ALL and all but one node are down.
> What
> >> happens to writes ? Does it rollback from the live node before returning
> >> failure to client ?
> >> Thanks.

View raw message