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 B258E106F1 for ; Thu, 18 Apr 2013 18:20:14 +0000 (UTC) Received: (qmail 49205 invoked by uid 500); 18 Apr 2013 18:20:14 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 49174 invoked by uid 500); 18 Apr 2013 18:20:14 -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 49165 invoked by uid 99); 18 Apr 2013 18:20:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Apr 2013 18:20:14 +0000 Date: Thu, 18 Apr 2013 18:20:14 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-5393) Add an Ack/Retry for merkle tree sending 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-5393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13635468#comment-13635468 ] Jonathan Ellis commented on CASSANDRA-5393: ------------------------------------------- Ship it! > Add an Ack/Retry for merkle tree sending > ---------------------------------------- > > Key: CASSANDRA-5393 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5393 > Project: Cassandra > Issue Type: Bug > Components: Core > Affects Versions: 1.1.10, 1.2.4, 2.0 > Reporter: Jeremiah Jordan > Assignee: Jason Brown > Fix For: 1.1.11, 1.2.5, 2.0 > > Attachments: 5393.patch, 5393-v2.patch, 5393-v3.patch, 5393-v4.txt > > > Can we add an Ack/Retry around passing merle tree's around in repair? If the following fails, the repair hangs for ever on the coordinating node. > https://github.com/apache/cassandra/blob/cassandra-1.1.10/src/java/org/apache/cassandra/service/AntiEntropyService.java#L242 > {noformat} > Message message = TreeResponseVerbHandler.makeVerb(local, validator); > if (!validator.request.endpoint.equals(FBUtilities.getBroadcastAddress())) > logger.info(String.format("[repair #%s] Sending completed merkle tree to %s for %s", validator.request.sessionid, validator.request.endpoint, validator.request.cf)); > ms.sendOneWay(message, validator.request.endpoint); > {noformat} > If the message asking for merkle tree's gets lost, coordinating node hangs for ever as well. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira