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

cqlsh does not automatically downgrade CQL version

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment