On Thu, Jul 8, 2010 at 12:45 AM, ChingShen <chingshenc...@gmail.com> wrote:
> hmm... I'm really confused.
> The http://wiki.apache.org/cassandra/API 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
http://riptano.com

Reply via email to