You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Guanghao Zhang (JIRA)" <ji...@apache.org> on 2016/04/08 07:40:25 UTC
[jira] [Created] (HBASE-15615) Wrong sleep time when
RegionServerCallable need retry
Guanghao Zhang created HBASE-15615:
--------------------------------------
Summary: Wrong sleep time when RegionServerCallable need retry
Key: HBASE-15615
URL: https://issues.apache.org/jira/browse/HBASE-15615
Project: HBase
Issue Type: Bug
Components: Client
Affects Versions: 2.0.0
Reporter: Guanghao Zhang
In RpcRetryingCallerImpl, it get pause time by expectedSleep = callable.sleep(pause, tries + 1); And in RegionServerCallable, it get pasue time by sleep = ConnectionUtils.getPauseTime(pause, tries + 1). So tries will be bumped up twice.
Now RETRY_BACKOFF = {1, 2, 3, 5, 10, 20, 40, 100, 100, 100, 100, 200, 200}; So the pasue time is 3 * hbase.client.pause when tries is 0.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)