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

cqlsh does not automatically downgrade CQL version

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 3.10
    • Legacy/Tools

    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

              ytakata Yusuke Takata
              ytakata Yusuke Takata
              Yusuke Takata
              Stefania Alborghetti
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: