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 5BDB318689 for ; Thu, 17 Dec 2015 08:03:47 +0000 (UTC) Received: (qmail 68178 invoked by uid 500); 17 Dec 2015 08:03:47 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 68130 invoked by uid 500); 17 Dec 2015 08:03:47 -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 68115 invoked by uid 99); 17 Dec 2015 08:03:46 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Dec 2015 08:03:46 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id BB2ED2C1F6E for ; Thu, 17 Dec 2015 08:03:46 +0000 (UTC) Date: Thu, 17 Dec 2015 08:03:46 +0000 (UTC) From: "Ashish Singhi (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-14937) Make rpc call timeout for replication adaptive 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-14937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15061683#comment-15061683 ] Ashish Singhi commented on HBASE-14937: --------------------------------------- Attached patch as per above approach mentioned. On every retry we increase the timeout by (retry time * 2) if its value is not 0 or it reached Integer.Max_Value. Please review. > Make rpc call timeout for replication adaptive > ---------------------------------------------- > > Key: HBASE-14937 > URL: https://issues.apache.org/jira/browse/HBASE-14937 > Project: HBase > Issue Type: Improvement > Reporter: Ashish Singhi > Assignee: Ashish Singhi > Labels: replication > Fix For: 2.0.0, 1.3.0 > > Attachments: HBASE-14937.patch > > > When peer cluster replication is disabled and lot of writes are happening in active cluster and later on peer cluster replication is enabled then there are chances that replication requests to peer cluster may time out. > This is possible after HBASE-13153 and it can also happen with many and many WAL data replication still pending to replicate. > Approach to this problem will be discussed in the comments. -- This message was sent by Atlassian JIRA (v6.3.4#6332)