[
https://issues.apache.org/jira/browse/CASSANDRA-8663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Philip Thompson resolved CASSANDRA-8663.
----------------------------------------
Resolution: Duplicate
> 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)