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

cqlsh does not automatically downgrade CQL version

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 3.10
    • Component/s: Legacy/Tools
    • Labels:

      Description

      Cassandra drivers such as the Python driver can automatically connect a supported version,
      but I found that cqlsh does not automatically downgrade CQL version as the following.

      $ cqlsh
      Connection error: ('Unable to connect to any servers', {'127.0.0.1': ProtocolError("cql_version '3.4.2' is not supported by remote (w/ native protocol). Supported versions: [u'3.4.0']",)})
      

      I think that the function is useful for cqlsh too.
      Could someone review the attached patch?

        Attachments

        1. patch.txt
          2 kB
          Yusuke Takata

          Issue Links

            Activity

              People

              • Assignee:
                ytakata Yusuke Takata
                Reporter:
                ytakata Yusuke Takata
                Authors:
                Yusuke Takata
                Reviewers:
                Stefania Alborghetti
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: