cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward Capriolo (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-2199) system_add_keyspace allows replication_factor of 0
Date Fri, 18 Feb 2011 22:59:38 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-2199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12996639#comment-12996639
] 

Edward Capriolo commented on CASSANDRA-2199:
--------------------------------------------

1 makes more sense then 0. Then again most use cases will not want 1. (I almost always assume
3). If we apply this patch only it forces the user to actively set the value they want. None
of the three settings (name,rf,and strategy) are optional maybe more checking is in order.
  

> system_add_keyspace allows replication_factor of 0
> --------------------------------------------------
>
>                 Key: CASSANDRA-2199
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2199
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.7.2
>            Reporter: Edward Capriolo
>            Assignee: Edward Capriolo
>            Priority: Minor
>         Attachments: cassandra-2199-1.patch.txt
>
>
> If you define a KsDef the replication_factor will default to 0. Cassandra will let you
create this keyspace but any write to it will fail.

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

        

Mime
View raw message