To clarify, this requires the coordinator know nodes are down.  If the
nodes are marked UP, but do not confirm the writes, this behavior does
not seem possible.

On Thu, Jul 8, 2010 at 11:31 AM, Jonathan Ellis <jbel...@gmail.com> wrote:
> On Thu, Jul 8, 2010 at 1:19 PM, Benjamin Black <b...@b3k.us> wrote:
>> On Thu, Jul 8, 2010 at 9:02 AM, ChingShen <chingshenc...@gmail.com> 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
> http://riptano.com
>

Reply via email to