Return-Path: Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: (qmail 40907 invoked from network); 14 Oct 2010 23:47:54 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Oct 2010 23:47:54 -0000 Received: (qmail 30694 invoked by uid 500); 14 Oct 2010 23:47:54 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 30657 invoked by uid 500); 14 Oct 2010 23:47:54 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 30648 invoked by uid 99); 14 Oct 2010 23:47:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Oct 2010 23:47:54 +0000 X-ASF-Spam-Status: No, hits=-1996.4 required=10.0 tests=ALL_TRUSTED,FS_REPLICA X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Oct 2010 23:47:54 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9ENlXJE019220 for ; Thu, 14 Oct 2010 23:47:33 GMT Message-ID: <6232874.152561287100053335.JavaMail.jira@thor> Date: Thu, 14 Oct 2010 19:47:33 -0400 (EDT) From: "stack (JIRA)" To: issues@hbase.apache.org Subject: [jira] Commented: (HBASE-3044) [replication] ReplicationSource won't cleanup logs if there's nothing to replicate In-Reply-To: <10594515.435421285645969817.JavaMail.jira@thor> 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/HBASE-3044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921174#action_12921174 ] stack commented on HBASE-3044: ------------------------------ +1 > [replication] ReplicationSource won't cleanup logs if there's nothing to replicate > ---------------------------------------------------------------------------------- > > Key: HBASE-3044 > URL: https://issues.apache.org/jira/browse/HBASE-3044 > Project: HBase > Issue Type: Bug > Affects Versions: 0.89.20100924 > Reporter: Jean-Daniel Cryans > Assignee: Jean-Daniel Cryans > Fix For: 0.90.0 > > Attachments: HBASE-3044.patch > > > ReplicationSource only calls ReplicationSourceManager.logPositionAndCleanOldLogs if it replicated something, meaning that a region server that doesn't host a region with replicable edits will read through the logs but never report the position in zookeeper and won't clean the processed hlogs. This happened on one cluster here and shutting down a region server took a few minutes just to delete all the znodes. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.