CFMetadata don't set the default for Replicate_on_write correctly 
------------------------------------------------------------------

                 Key: CASSANDRA-2835
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2835
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 0.8.0
            Reporter: Sylvain Lebresne
            Assignee: Sylvain Lebresne
             Fix For: 0.8.2
         Attachments: 2835.patch

Replicate_on_write *must* default to true (defaulting to false is very 
dangerous and imho, the option of setting it to false shouldn't exist in the 
first place) and CFMetadata.DEFAULT_REPLICATE_ON_WRITE is correctly true. But 
it doesn't get set correctly. Instead, the code force the value of the cf_def 
even if it wasn't defined, resulting in setting it to false since that is the 
default value for a boolean in JAVA.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to