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) and return
success message to client? or could anyone can give me a real case?

Thanks.

Shen

On Thu, Jul 8, 2010 at 12:48 PM, Jonathan Ellis <jbel...@gmail.com> wrote:

> No, it means that HH writes don't count towards meeting the requested
> ConsistencyLevel.
>
> On Wed, Jul 7, 2010 at 9:36 PM, ChingShen <chingshenc...@gmail.com> wrote:
> > So, does it mean that only the CL=ZERO and CL=ANY support hinted handoff,
> > right?
> >
> > Thanks.
> >
> > Shen
> >
> > On Wed, Jul 7, 2010 at 11:28 PM, Jonathan Ellis <jbel...@gmail.com>
> wrote:
> >>
> >> does http://wiki.apache.org/cassandra/HintedHandoff help?
> >>
> >> On Wed, Jul 7, 2010 at 10:16 AM, ChingShen <chingshenc...@gmail.com>
> >> wrote:
> >> > Thanks Jonathan Ellis,
> >> >
> >> >   If so, how does the hinted handoff work? I thought the coordinator
> >> > node
> >> > will write the data to another node(e.g. G node), I'm confused.
> >> >
> >> > Shen
> >> >
> >> >>
> >> >> > Second, if
> >> >> > B node is down during the write operation, does it return
> >> >> > failure(CL=ALL) to
> >> >> > user?
> >> >>
> >> >> yes
> >> >>
> >> >> --
> >> >> Jonathan Ellis
> >> >> Project Chair, Apache Cassandra
> >> >> co-founder of Riptano, the source for professional Cassandra support
> >> >> http://riptano.com
> >> >
> >> >
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> Jonathan Ellis
> >> Project Chair, Apache Cassandra
> >> co-founder of Riptano, the source for professional Cassandra support
> >> http://riptano.com
> >
> >
> >
>
>
>
> --
> Jonathan Ellis
> Project Chair, Apache Cassandra
> co-founder of Riptano, the source for professional Cassandra support
> http://riptano.com
>

Reply via email to