cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <>
Subject Re: Some questions about the write operation and hinted handoff
Date Thu, 08 Jul 2010 14:08:37 GMT
On Thu, Jul 8, 2010 at 12:45 AM, ChingShen <> wrote:
> hmm... I'm really confused.
> The document mentioned that if write
> ConsistencyLevel=ANY that "Ensure the write has been written to at least 1
> node, including hinted recipients.", I couldn't imagine this case. :(
> If I have A,B,C and D nodes(RF=1), and write ConsistencyLevel=ANY, so A
> coordinator node sends a write request to another node(e.g. B node), but B
> node is down during write operation, what happend? return failure message to
> client immediately? or write a hint to another node(e.g. C node)

It will write a hint and report success.

But if you were writing at CL.ONE it would fail the write because a
hinted write isn't readable until it can be forwarded to the "right"
node (here, B).

Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cassandra support

View raw message