On Thu, Jul 8, 2010 at 10:45 PM, ChingShen wrote:
> Ok, If so, I suppose that A sends requests to B, C and D nodes(RF=3) at
> CL.QUORUM, but D is down, then return success message to the client, and A
> write a hint to E node? until D comes back up then E forwards the data to D?
If it knows that
On Fri, Jul 9, 2010 at 4:32 AM, Jonathan Ellis wrote:
> 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.
> To summarize: hinted writes are only generated when Cassandra (a)
>
Right, if the nodes are marked up but do not confirm the writes, it
will result in a TimedOutException. (It still won't generate hinted
writes).
To summarize: hinted writes are only generated when Cassandra (a)
knows a target is down ahead of time and (b) still has enough UP
targets to satisfy th
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 wrote:
> On Thu, Jul 8, 2010 at 1:19 PM, Benjamin Black wrote:
>> On Thu, Jul 8, 2010 a
Important safety tip, I did not know that.
On Thu, Jul 8, 2010 at 11:31 AM, Jonathan Ellis wrote:
> 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, do
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, regar
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 whet
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?
Thanks.
On Thu, Jul 8, 2010 at 11:29 PM, Jonathan Ellis wrote:
> On Thu, Jul 8, 2010 at 10:23 AM, ChingShen
> wrote:
> > Thanks Jonathan Ellis,
> >
> > I want to make
On Thu, Jul 8, 2010 at 10:23 AM, ChingShen wrote:
> 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?
No.
--
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cass
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?
Shen
On Thu, Jul 8, 2010 at 10:08 PM, Jona
On Thu, Jul 8, 2010 at 12:45 AM, ChingShen 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 ca
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 Consis
No, it means that HH writes don't count towards meeting the requested
ConsistencyLevel.
On Wed, Jul 7, 2010 at 9:36 PM, ChingShen 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 w
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 wrote:
> does http://wiki.apache.org/cassandra/HintedHandoff help?
>
> On Wed, Jul 7, 2010 at 10:16 AM, ChingShen
> wrote:
> > Thanks Jonathan Ellis,
>
does http://wiki.apache.org/cassandra/HintedHandoff help?
On Wed, Jul 7, 2010 at 10:16 AM, ChingShen 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
>
>>
>> > S
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
>
> --
> Jona
On Tue, Jul 6, 2010 at 10:05 PM, ChingShen wrote:
> Hi all,
>
> I have A, B, C, D, E, F and G nodes(RF=3), if I run a write
> operation(CL=ALL) on "A" node(coordinator), and the key range between A and
> B, therefore, the data will be stored on B, C and D nodes, right?
depends on replication st
Hi all,
I have A, B, C, D, E, F and G nodes(RF=3), if I run a write
operation(CL=ALL) on "A" node(coordinator), and the key range between A and
B, therefore, the data will be stored on B, C and D nodes, right? Second, if
B node is down during the write operation, does it return failure(CL=ALL) t
18 matches
Mail list logo