cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-11462) IncomingStreamingConnection version check wrong
Date Wed, 30 Mar 2016 14:08:25 GMT
Robert Stupp created CASSANDRA-11462:
----------------------------------------

             Summary: IncomingStreamingConnection version check wrong
                 Key: CASSANDRA-11462
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11462
             Project: Cassandra
          Issue Type: Bug
            Reporter: Robert Stupp
            Priority: Trivial


If compares against {{StreamMessage.CURRENT_VERSION}} but prints {{MessagingService.current_version}}.
The error message is confusing tho.

{code}
            if (version != StreamMessage.CURRENT_VERSION)
                throw new IOException(String.format("Received stream using protocol version
%d (my version %d). Terminating connection", version, MessagingService.current_version));
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message