You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/11/16 05:49:00 UTC
[jira] [Commented] (CASSANDRA-14016) Doc of read_repair_chance and
dclocal_read_repair_chance default values is wrong
[ https://issues.apache.org/jira/browse/CASSANDRA-14016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16254791#comment-16254791 ]
ASF GitHub Bot commented on CASSANDRA-14016:
--------------------------------------------
GitHub user kgreav opened a pull request:
https://github.com/apache/cassandra/pull/173
Correct default [dclocal_]read_repair_chance documentation
CASSANDRA-14016
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kgreav/cassandra 14016
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cassandra/pull/173.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #173
----
commit d52110f02306b3033b748eee52dffce2525ea9dc
Author: kurt <ku...@instaclustr.com>
Date: 2017-11-16T05:43:55Z
Correct default [dclocal_]read_repair_chance documentation
----
> Doc of read_repair_chance and dclocal_read_repair_chance default values is wrong
> ---------------------------------------------------------------------------------
>
> Key: CASSANDRA-14016
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14016
> Project: Cassandra
> Issue Type: Bug
> Components: Documentation and Website
> Reporter: tzach
> Priority: Trivial
> Labels: documentation
>
> In the documentation, default values for
> read_repair_chance is 0.1
> dclocal_read_repair_chance is 0.0
> source: http://cassandra.apache.org/doc/latest/cql/ddl.html#other-table-options
> In the code, the default values are the other way around
> {quote}
> public static final double DEFAULT_READ_REPAIR_CHANCE = 0.0;
> public static final double DEFAULT_DCLOCAL_READ_REPAIR_CHANCE = 0.1;
> {quote}
> source: https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/schema/TableParams.java#L63-L64
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org