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 A5CE0200BE7 for ; Mon, 14 Nov 2016 23:48:01 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id A46D5160B06; Mon, 14 Nov 2016 22:48:01 +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 07E4D160B0D for ; Mon, 14 Nov 2016 23:48:00 +0100 (CET) Received: (qmail 42896 invoked by uid 500); 14 Nov 2016 22:48:00 -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 42696 invoked by uid 99); 14 Nov 2016 22:47:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Nov 2016 22:47:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CB8882C4C73 for ; Mon, 14 Nov 2016 22:47:59 +0000 (UTC) Date: Mon, 14 Nov 2016 22:47:59 +0000 (UTC) From: "Guanghao Zhang (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-17077) Don't copy the replication queue belonging to the peer which has been deleted MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 14 Nov 2016 22:48:01 -0000 [ https://issues.apache.org/jira/browse/HBASE-17077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15665285#comment-15665285 ] Guanghao Zhang commented on HBASE-17077: ---------------------------------------- Thanks [~tedyu@apache.org] > Don't copy the replication queue belonging to the peer which has been deleted > ----------------------------------------------------------------------------- > > Key: HBASE-17077 > URL: https://issues.apache.org/jira/browse/HBASE-17077 > Project: HBase > Issue Type: Improvement > Reporter: Guanghao Zhang > Assignee: Guanghao Zhang > Priority: Minor > Fix For: 2.0.0, 1.4.0 > > Attachments: HBASE-17077-v1.patch, HBASE-17077.patch > > > When a region server is dead, then other live region servers will transfer the dead rs's replication queue to their own queue. Now the live rs first copy the wals queue to its own znode, then create a new replication source to replicate the wals. But if the queue belong to a peer has been deleted, it copy the queue, too. The current steps is: > 1. copy the queue to its own znode > 2. found the queue belong to a peer has been deleted > 3. remove the queue and don't create a new replication source for it > There is a small improvement. The live region server doesn't need to copy the queue to its own znode. The new steps is: > 1. found the queue belong to a peer has been deleted > 2. remove the queue directly instead of copy it -- This message was sent by Atlassian JIRA (v6.3.4#6332)