You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Martin Sucha (Jira)" <ji...@apache.org> on 2021/02/05 07:09:00 UTC

[jira] [Created] (CASSANDRA-16424) Incorrect stream used in SUPPORTED frame

Martin Sucha created CASSANDRA-16424:
----------------------------------------

             Summary: Incorrect stream used in SUPPORTED frame
                 Key: CASSANDRA-16424
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16424
             Project: Cassandra
          Issue Type: Bug
            Reporter: Martin Sucha
         Attachments: cassandra4beta4.pcapng.gz, reproducer.zip

Cassandra 4.0 beta4 does not correctly send replies to OPTIONS frames when using CQL protocol version 4: In response to OPTIONS frame sent with stream ID 1, Cassandra 4.0 beta4 replies with SUPPORTED frame with stream ID 0 (instead of replying with the same stream ID as client requested).

See attached network dump.

The issue can be reproduced by connecting with gocql driver, see attached Go program.

Happens also when using protocol version 3. I haven't checked protocol version 5 as we don't have support for it in gocql yet.

The issue cannot be reproduced with Cassandra 4.0 beta3.

Originally reported at gocql: https://github.com/gocql/gocql/issues/1532



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org