Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 823BD200B57 for ; Sat, 23 Jul 2016 03:16:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 80FE9160A6D; Sat, 23 Jul 2016 01:16:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C6984160A8E for ; Sat, 23 Jul 2016 03:16:21 +0200 (CEST) Received: (qmail 36420 invoked by uid 500); 23 Jul 2016 01:16:20 -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 36213 invoked by uid 99); 23 Jul 2016 01:16:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Jul 2016 01:16:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 81AD42C0D62 for ; Sat, 23 Jul 2016 01:16:20 +0000 (UTC) Date: Sat, 23 Jul 2016 01:16:20 +0000 (UTC) From: "Elliott Clark (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-16096) Replication keeps accumulating znodes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 23 Jul 2016 01:16:22 -0000 [ https://issues.apache.org/jira/browse/HBASE-16096?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Elliott Clark updated HBASE-16096: ---------------------------------- Resolution: Fixed Fix Version/s: 2.0.0 Release Note: (was: The last set of test failures seem to be largely due to issues with the test cluster. Errors creating new threads or OOM errors. Running another test with the reduced changes) Status: Resolved (was: Patch Available) > Replication keeps accumulating znodes > ------------------------------------- > > Key: HBASE-16096 > URL: https://issues.apache.org/jira/browse/HBASE-16096 > Project: HBase > Issue Type: Bug > Components: Replication > Affects Versions: 2.0.0, 1.2.0, 1.3.0 > Reporter: Ashu Pachauri > Assignee: Joseph > Fix For: 2.0.0 > > Attachments: HBASE-16096.patch > > > If there is an error while creating the replication source on adding the peer, the source if not added to the in memory list of sources but the replication peer is. > However, in such a scenario, when you remove the peer, it is deleted from zookeeper successfully but for removing the in memory list of peers, we wait for the corresponding sources to get deleted (which as we said don't exist because of error creating the source). > The problem here is the ordering of operations for adding/removing source and peer. > Modifying the code to always remove queues from the underlying storage, even if there exists no sources also requires a small refactoring of TableBasedReplicationQueuesImpl to not abort on removeQueues() of an empty queue -- This message was sent by Atlassian JIRA (v6.3.4#6332)