Thanks Jonathan Ellis,
I want to make sure that after A return failure message to client at CL.ONE, does A write a hint to C? If so, although the write operation is failed, but the data is still stored in C? if B comes back up, then C forwards to B?
On Thu, Jul 8, 2010 at 12:45 AM, ChingShen <email@example.com> wrote:It will write a hint and report success.
> 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)
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).
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cassandra support