Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9ABE8C4F1 for ; Thu, 3 May 2012 22:59:12 +0000 (UTC) Received: (qmail 27182 invoked by uid 500); 3 May 2012 22:59:12 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 27146 invoked by uid 500); 3 May 2012 22:59:12 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 27133 invoked by uid 99); 3 May 2012 22:59:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2012 22:59:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2012 22:59:11 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 60C9842EA20 for ; Thu, 3 May 2012 22:58:51 +0000 (UTC) Date: Thu, 3 May 2012 22:58:51 +0000 (UTC) From: "Dave Brosius (JIRA)" To: commits@cassandra.apache.org Message-ID: <22985665.24440.1336085931397.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <671268982.9954.1331679761562.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (CASSANDRA-4046) when creating keyspace with simple strategy, it should only acception "replication_factor" as an option MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-4046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius updated CASSANDRA-4046: ------------------------------------ Attachment: (was: 4046_warn_invalid_options.diff) > 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