Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 06A8D18428 for ; Mon, 4 Apr 2016 08:12:26 +0000 (UTC) Received: (qmail 35906 invoked by uid 500); 4 Apr 2016 08:12:25 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 35872 invoked by uid 500); 4 Apr 2016 08:12:25 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 35861 invoked by uid 99); 4 Apr 2016 08:12:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Apr 2016 08:12:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6FF5E2C1F58 for ; Mon, 4 Apr 2016 08:12:25 +0000 (UTC) Date: Mon, 4 Apr 2016 08:12:25 +0000 (UTC) From: "Robert Stupp (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-11462) IncomingStreamingConnection version check message wrong MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)