cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anubhav Kale <Anubhav.K...@microsoft.com>
Subject RE: Question on Read Repair
Date Thu, 03 Nov 2016 22:32:26 GMT
Does it work the same way for writes as well ? If “nodetool status” shows that a node is
DN, would writes fail right away assuming enough nodes are down to fail QUORUM ?

From: Jeff Jirsa [mailto:jeff.jirsa@crowdstrike.com]
Sent: Tuesday, October 11, 2016 1:13 PM
To: user@cassandra.apache.org
Subject: Re: Question on Read Repair

Yes:

https://github.com/apache/cassandra/blob/81f6c784ce967fadb6ed7f58de1328e713eaf53c/src/java/org/apache/cassandra/db/ConsistencyLevel.java#L286



From: Anubhav Kale <Anubhav.Kale@microsoft.com<mailto:Anubhav.Kale@microsoft.com>>
Reply-To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" <user@cassandra.apache.org<mailto:user@cassandra.apache.org>>
Date: Tuesday, October 11, 2016 at 11:45 AM
To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" <user@cassandra.apache.org<mailto:user@cassandra.apache.org>>
Subject: RE: Question on Read Repair

Thank you.

Interesting detail. Does it work the same way for other consistency levels as well ?

From: Jeff Jirsa [mailto:jeff.jirsa@crowdstrike.com]
Sent: Tuesday, October 11, 2016 10:29 AM
To: user@cassandra.apache.org<mailto:user@cassandra.apache.org>
Subject: Re: Question on Read Repair

If the failuredetector knows that the node is down, it won’t attempt a read, because the
consistency level can’t be satisfied – none of the other replicas will be repaired.


From: Anubhav Kale <Anubhav.Kale@microsoft.com<mailto:Anubhav.Kale@microsoft.com>>
Reply-To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" <user@cassandra.apache.org<mailto:user@cassandra.apache.org>>
Date: Tuesday, October 11, 2016 at 10:24 AM
To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" <user@cassandra.apache.org<mailto:user@cassandra.apache.org>>
Subject: Question on Read Repair

Hello,

This is more of a theory / concept question. I set CL=ALL and do a read. Say one replica was
down, will the rest of the replicas get repaired as part of this ? (I am hoping the answer
is yes).

Thanks !
____________________________________________________________________
CONFIDENTIALITY NOTE: This e-mail and any attachments are confidential and may be legally
privileged. If you are not the intended recipient, do not disclose, copy, distribute, or use
this email or any attachments. If you have received this in error please let the sender know
and then delete the email and all attachments.
____________________________________________________________________
CONFIDENTIALITY NOTE: This e-mail and any attachments are confidential and may be legally
privileged. If you are not the intended recipient, do not disclose, copy, distribute, or use
this email or any attachments. If you have received this in error please let the sender know
and then delete the email and all attachments.
Mime
View raw message