cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brosius (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-4046) when creating keyspace with simple strategy, it should only acception "replication_factor" as an option
Date Thu, 03 May 2012 22:56:48 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-4046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dave Brosius updated CASSANDRA-4046:
------------------------------------

    Attachment: 4046_warn_invalid_options.diff

log at warning level options that are unrecognized for the specified strategy.

(but still succeed)

against trunk
                
> when creating keyspace with simple strategy, it should only acception "replication_factor"
as an option
> -------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-4046
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4046
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jackson Chung
>            Priority: Minor
>         Attachments: 4046_warn_invalid_options.diff
>
>
> currently I could do this:
> {panel}
> [default@unknown] create keyspace test
> ...     with placement_strategy = 'SimpleStrategy'
> ...     and strategy_options = \{DC : testdc, replication_factor :1\};
> ebc5f430-6d47-11e1-0000-edee3ea2cbff
> Waiting for schema agreement...
> ... schemas agree across the cluster
> [default@unknown] 
> {panel}
> while i don't think this creates any "problem" in terms of the actual replication being
used for the CL , we probably should acknowledge to the user that "DC : testdc" is not an
valid option for the SimpleStrategy.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message