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 3C2F9176BA for ; Tue, 31 Mar 2015 14:28:04 +0000 (UTC) Received: (qmail 86687 invoked by uid 500); 31 Mar 2015 14:27:54 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 86657 invoked by uid 500); 31 Mar 2015 14:27:54 -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 86645 invoked by uid 99); 31 Mar 2015 14:27:54 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Mar 2015 14:27:54 +0000 Date: Tue, 31 Mar 2015 14:27:54 +0000 (UTC) From: "Philip Thompson (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-8102) cassandra-cli and cqlsh report two different values for a setting, partially update it and partially report it MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-8102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Philip Thompson updated CASSANDRA-8102: --------------------------------------- Fix Version/s: 2.0.14 > cassandra-cli and cqlsh report two different values for a setting, partially update it and partially report it > -------------------------------------------------------------------------------------------------------------- > > Key: CASSANDRA-8102 > URL: https://issues.apache.org/jira/browse/CASSANDRA-8102 > Project: Cassandra > Issue Type: Bug > Environment: 2.0.9 > Reporter: Peter Haggerty > Priority: Minor > Labels: cli, cqlsh > Fix For: 2.0.14 > > > cassandra-cli updates and prints out a min_compaction_threshold that is not shown by cqlsh (it shows a different min_threshold attribute) > cqlsh updates "both" values but only shows one of them > {code} > cassandra-cli: > UPDATE COLUMN FAMILY foo WITH min_compaction_threshold = 8; > $ echo "describe foo;" | cassandra-cli -h `hostname` -k bar > Compaction min/max thresholds: 8/32 > $ echo "describe table foo;" | cqlsh -k bar `hostname` > compaction={'class': 'SizeTieredCompactionStrategy'} AND > {code} > {code} > cqlsh: > ALTER TABLE foo WITH compaction = {'class' : 'SizeTieredCompactionStrategy', 'min_threshold' : 16}; > cassandra-cli: > Compaction min/max thresholds: 16/32 > Compaction Strategy Options: > min_threshold: 16 > cqlsh: > compaction={'min_threshold': '16', 'class': 'SizeTieredCompactionStrategy'} AND > {code} > {code} > cassandra-cli: > UPDATE COLUMN FAMILY foo WITH min_compaction_threshold = 8; > cassandra-cli: > Compaction min/max thresholds: 8/32 > Compaction Strategy Options: > min_threshold: 16 > cqlsh: > compaction={'min_threshold': '16', 'class': 'SizeTieredCompactionStrategy'} AND > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)