You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Andrew J Lenards (JIRA)" <ji...@apache.org> on 2015/01/21 19:09:36 UTC

[jira] [Updated] (CASSANDRA-8663) cqlsh is showing the integer value for ConsistencyLevel not name

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

Andrew J Lenards updated CASSANDRA-8663:
----------------------------------------
    Description: 
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.

  was:
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.


> 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
>
> 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)