cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "tzach (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-14016) Doc of read_repair_chance and dclocal_read_repair_chance default values is wrong
Date Wed, 15 Nov 2017 20:25:00 GMT
tzach created CASSANDRA-14016:
---------------------------------

             Summary: 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


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


Mime
View raw message