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

python dtest fails to talk to 2.2 using protocol 4 but cqlsh has no issue

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: NA
    • Component/s: CI, Test/dtest/python
    • Labels:
      None

      Description

      https://app.circleci.com/pipelines/github/dcapwell/cassandra/850/workflows/79486fdd-06d0-4d04-aa32-0fa648182356/jobs/5019/artifacts

      We see that upgrade tests which talk to 2.2 clusters fail with the following error

      >   ???
      E   cassandra.cluster.NoHostAvailable: ('Unable to connect to any servers', {'127.0.0.1:9042': DriverException('ProtocolError returned from server while using explicitly set client protocol_version 4',)})
      

      For some reason, setting protocol version 4 causes 2.2 to fail, but this does not happen when using cqlsh (from trunk)

      ./bin/cqlsh --protocol-version=4
      Connected to Test Cluster at 127.0.0.1:9042.
      [cqlsh 5.0.1 | Cassandra 2.2.20-SNAPSHOT | CQL spec 3.3.1 | Native protocol v4]
      Use HELP for help.
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                aholmber Adam Holmberg
                Reporter:
                dcapwell David Capwell
                Authors:
                Adam Holmberg
                Reviewers:
                David Capwell, Sam Tunnicliffe
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: