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 E0A75CA96 for ; Wed, 21 Jan 2015 19:09:52 +0000 (UTC) Received: (qmail 37485 invoked by uid 500); 21 Jan 2015 18:58:12 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 14188 invoked by uid 500); 21 Jan 2015 18:57:35 -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 11168 invoked by uid 99); 21 Jan 2015 18:49:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jan 2015 18:49:35 +0000 Date: Wed, 21 Jan 2015 18:49:35 +0000 (UTC) From: "Brandon Williams (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-8663) cqlsh is showing the integer value for ConsistencyLevel not name 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-8663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brandon Williams updated CASSANDRA-8663: ---------------------------------------- Labels: lhf (was: ) > cqlsh is showing the integer value for ConsistencyLevel not name > ----------------------------------------------------------------- > > Key: CASSANDRA-8663 > URL: https://issues.apache.org/jira/browse/CASSANDRA-8663 > Project: Cassandra > Issue Type: Bug > Components: Tools > Environment: Cassandra 2.1.2-SNAPSHOT, built/fetched with ccm > Reporter: Andrew J Lenards > Priority: Minor > Labels: lhf > > When you use issues the {{CONSISTENCY;}} command in {{cqlsh}}, it is showing the integer value for the current consistency level, not the name of that consistency level. > Example: > {noformat} > cqlsh> CONSISTENCY QUORUM; > Consistency level set to QUORUM. > cqlsh> CONSISTENCY; > Current consistency level is 4. > {noformat} > The output can be confusing for some who might think that it refers to the number of nodes required for acknowledge when performing an operation. The name of the current consistency level would be more clear. > More examples: > https://gist.github.com/lenards/e97ce13347e7ad454b86 > Thank you. -- This message was sent by Atlassian JIRA (v6.3.4#6332)