You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Michael (JIRA)" <ji...@apache.org> on 2019/02/05 11:52:00 UTC

[jira] [Comment Edited] (CASSANDRA-15007) Incorrect rf validation in SimpleStrategy

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

Michael edited comment on CASSANDRA-15007 at 2/5/19 11:51 AM:
--------------------------------------------------------------

Here is a simple fix

{{cqlsh> create keyspace test with replication = {'class': 'SimpleStrategy'};}}
{{ConfigurationException: SimpleStrategy requires a replication_factor strategy option.}}


was (Author: apozyan):
Here is a simple fix

> Incorrect rf validation in SimpleStrategy
> -----------------------------------------
>
>                 Key: CASSANDRA-15007
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15007
>             Project: Cassandra
>          Issue Type: Bug
>          Components: CQL/Semantics
>            Reporter: Michael
>            Priority: Minor
>             Fix For: 4.x
>
>         Attachments: 15007.patch
>
>
> Getting uninformative ConfigurationException when trying to create a keyspace with SimpleStrategy and no replication factor.
> {{cqlsh> create keyspace test with replication = \{'class': 'SimpleStrategy'};}}
> {{ConfigurationException:}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org