Scylla: Remove probabilistic read repair

Created on 7 Jun 2018  Â·  5Comments  Â·  Source: scylladb/scylla

This is a mirror for CASSANDRA-13910.

While reads are typically sent to just enough replicas to satisfy the CL, read requests may be randomly sent to all replicas in order to repair potentially inconsistent data, based on read_repair_chance and dclocal_read_repair_chance (another exception is speculative retry).

Often this extra load is not justifiable, since inconsistencies are reliably repaired by either QUORUM reads or by hints. When there are dropped hints (something the manager should pay attention to, btw), then issuing a full repair is in order.

Other good arguments are given in the linked issue.

cassandra 4.x compatibility coordination enhancement

Most helpful comment

All 5 comments

We cant remove it, we invested too much in documenting it!
http://docs.scylladb.com/architecture/anti-entropy/read-repair/

This is a strong indicator that we should document nothing!

On Thu, Jun 7, 2018, 8:56 AM Tzach Livyatan, notifications@github.com
wrote:

We cant remove it, we invested too much in documenting it!
http://docs.scylladb.com/architecture/anti-entropy/read-repair/

And ?

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/scylladb/scylla/issues/3502#issuecomment-395410228,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAUNvT8D9wsUr9k1_du9LLGk527sjP_zks5t6SLrgaJpZM4UeIhR
.

Since commit ed0d00f51eda18829aea5bb146e6985a6fb2dc12(a retry of fdd2d9de3d1fb68f96e6a23eb965ad4f957f6805) done for issue #6109, the default of dc_local_read_repair_chance is now 0.
So although probabilistic read repair was not officially "removed" as this issue suggests, or even officially deprecated, it's no longer on unless a user deliberately turns it on.

Also note that the same Cassandra issue, https://issues.apache.org/jira/browse/CASSANDRA-13910, was already resolved more than two years ago, and this options was apparently dropped entirely in Cassandra since 3.11.

Was this page helpful?
0 / 5 - 0 ratings