cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 孟靖 <>
Subject Does async read repair happen when using CL.LOCAL_QUORUM?
Date Mon, 25 Sep 2017 04:16:31 GMT
Hi, I’ve read the code concerning read_repair when the ReadRepairDecision is GLOBAL with
CL = LOCAL_QUORUM in cassandra-2.1.18.

It concerns me that when using CL.LOCAL_QUORUM, there was a if statement:

    `If (blockfor < endpoints.size() && n == endpoints.size())`

Whereas n is the received data from endpoints in local datacenter.

In that case, the async repair runner won’t be created, thus only foreground read repair
is possible to happen (when DigestMismatchException is raised) when CL = LOCAL_QUORUM.

Is it true, or am I missing something here?

Btw, the cassandra version is 2.1.18.

Thanks for replying.



This e-mail contains confidential information, which is intended only for the receiver. Any
use of the information contained herein in any way (including, but not limited to, total or
partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s)
is prohibited. If you receive this e-mail in error, please notify the sender by phone or email
immediately and delete it. Thanks!
View raw message