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] [Commented] (CASSANDRA-11462) IncomingStreamingConnection version check message wrong
Date Mon, 04 Apr 2016 08:12:25 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-11462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15223806#comment-15223806
] 

Robert Stupp commented on CASSANDRA-11462:
------------------------------------------

[~RyanMagnusson] lgtm

[~slebresne] any objections to commit this to 2.1? Should help to identify streaming issues
in the C* log.

> IncomingStreamingConnection version check message 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}
> EDIT: That message is only printed at debug log level



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

Mime
View raw message