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 26A777660 for ; Mon, 12 Sep 2011 17:48:34 +0000 (UTC) Received: (qmail 85352 invoked by uid 500); 12 Sep 2011 17:48:33 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 85278 invoked by uid 500); 12 Sep 2011 17:48:33 -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 85253 invoked by uid 99); 12 Sep 2011 17:48:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Sep 2011 17:48:33 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Sep 2011 17:48:30 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 4AC4B948FA for ; Mon, 12 Sep 2011 17:48:09 +0000 (UTC) Date: Mon, 12 Sep 2011 17:48:09 +0000 (UTC) From: "Hudson (JIRA)" To: commits@cassandra.apache.org Message-ID: <555241817.18111.1315849689301.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1190981917.7819.1315572428833.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CASSANDRA-3166) Rolling upgrades from 0.7 to 0.8 not possible MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-3166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13102845#comment-13102845 ] Hudson commented on CASSANDRA-3166: ----------------------------------- Integrated in Cassandra-0.8 #322 (See [https://builds.apache.org/job/Cassandra-0.8/322/]) Make IncomingTcpConnection responsible for version handling. Patch by Marcus Erikkson, reviewed by Peter Schuller and brandonwilliams for CASSANDRA-3166 brandonwilliams : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1169823 Files : * /cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/gms/Gossiper.java * /cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/net/IncomingTcpConnection.java * /cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/net/OutboundTcpConnection.java > Rolling upgrades from 0.7 to 0.8 not possible > --------------------------------------------- > > Key: CASSANDRA-3166 > URL: https://issues.apache.org/jira/browse/CASSANDRA-3166 > Project: Cassandra > Issue Type: Bug > Affects Versions: 0.7.5, 0.7.9, 0.8.4 > Reporter: Marcus Eriksson > Fix For: 0.8.6 > > Attachments: 3166.txt > > > We are in the progress of upgrading to 0.8 and we need to do a rolling upgrade, this fails miserably and it is reproducible; > 1. set up a 3 node cluster with 0.7.9 and rf=3, read and write, QUORUM > 2. upgrade one of the nodes (i upped a seednode, not sure if that is important) > 3. continue reading/writing > 4. see logs on the 0.7 node fill up with: INFO 12:36:08,240 Received connection from newer protocol version. Ignorning message. > it does work if i start the 0.7.9 nodes *after* the 0.8.4 node which makes me think that it matters if it is the 0.8 node connecting to the 0.7 nodes or the other way round. > Debug logging on the 0.8 node shows: > /var/log/cassandra/system.log.9:DEBUG [pool-2-thread-82] 2011-09-09 11:55:06,067 StorageProxy.java (line 178) Write timeout java.util.concurrent.TimeoutException for one (or more) of: > /var/log/cassandra/system.log.9:DEBUG [pool-2-thread-76] 2011-09-09 11:55:06,067 StorageProxy.java (line 584) Read timeout: java.util.concurrent.TimeoutException: Operation timed out - received only 1 responses from /193.182.3.92, . > nothing except for the "newer protocol version..." in the 0.7-logs > i will continue to look at this issue but if anyone has a quick patch, let me know -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira