Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-8663

cqlsh is showing the integer value for ConsistencyLevel not name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Duplicate
    • 2.1.3
    • Legacy/Tools
    • Cassandra 2.1.2-SNAPSHOT, built/fetched with ccm

    • Low

    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:

      cqlsh> CONSISTENCY QUORUM; 
      Consistency level set to QUORUM.
      cqlsh> CONSISTENCY; 
      Current consistency level is 4.
      

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              alenards Andrew J Lenards
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: