Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8F27192BE for ; Thu, 29 Sep 2011 23:44:09 +0000 (UTC) Received: (qmail 23270 invoked by uid 500); 29 Sep 2011 23:44:09 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 23232 invoked by uid 500); 29 Sep 2011 23:44:09 -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 23217 invoked by uid 99); 29 Sep 2011 23:44:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Sep 2011 23:44:09 +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; Thu, 29 Sep 2011 23:44:06 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8E89B2A1D0C for ; Thu, 29 Sep 2011 23:43:45 +0000 (UTC) Date: Thu, 29 Sep 2011 23:43:45 +0000 (UTC) From: "Jean-Daniel Cryans (Resolved) (JIRA)" To: issues@hbase.apache.org Message-ID: <104599377.9765.1317339825585.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <705657316.1418.1317160605493.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (HBASE-4499) [replication] Source shouldn't update ZK if it didn't progress 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/HBASE-4499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Daniel Cryans resolved HBASE-4499. --------------------------------------- Resolution: Fixed Assignee: Chris Trezzo Release Note: ReplicationSource keeps track of its previous location and won't update ZK if it doesn't need to. Hadoop Flags: Reviewed I tested the patch and it works as advertised, committed to 0.92 and trunk. Thanks Chris! > [replication] Source shouldn't update ZK if it didn't progress > -------------------------------------------------------------- > > Key: HBASE-4499 > URL: https://issues.apache.org/jira/browse/HBASE-4499 > Project: HBase > Issue Type: Improvement > Affects Versions: 0.90.4 > Reporter: Jean-Daniel Cryans > Assignee: Chris Trezzo > Priority: Minor > Fix For: 0.92.0 > > Attachments: 4499.txt > > > A relatively minor optimization to be done in ReplicationSource, currently it calls ReplicationSourceManager.logPositionAndCleanOldLogs whether it made progress or not, generating more load on ZK than necessary. The last position should be kept around so that we can compare. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira