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 18:31:20 GMT
On Thu, Jul 8, 2010 at 1:19 PM, Benjamin Black <> wrote:
> On Thu, Jul 8, 2010 at 9:02 AM, ChingShen <> wrote:
>> Hmm.. as you mentioned that it will write a hint and report success at
>> CL.ANY, does the hinted handoff only work at CL.ANY?
> Still no.  Hints are written when nodes are down, regardless of CL,
> unless HH is disabled.  CL does not influence whether hints are
> written, it influences whether success is reported to the client.  For
> CL.ANY a hint is a success, for CL.ONE it is a failure.

If the coordinator knows it can't achieve the requested CL it won't do
any writes, hinted or otherwise, and will immediately report
UnavailableException to the client.

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

View raw message