Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-14016

Doc of read_repair_chance and dclocal_read_repair_chance default values is wrong

    XMLWordPrintableJSON

Details

    • Low

    Description

      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

      public static final double DEFAULT_READ_REPAIR_CHANCE = 0.0;
      public static final double DEFAULT_DCLOCAL_READ_REPAIR_CHANCE = 0.1;

      source: https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/schema/TableParams.java#L63-L64

      Attachments

        Issue Links

          Activity

            People

              KurtG Kurt Greaves
              tzach tzach
              Kurt Greaves
              Jeff Jirsa
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: