Jianfei Cheng created HBASE-29735:
-------------------------------------

             Summary: In RegionMover, timeoutInSeconds was calculated wrong 
when using MoveWithAck
                 Key: HBASE-29735
                 URL: https://issues.apache.org/jira/browse/HBASE-29735
             Project: HBase
          Issue Type: Bug
          Components: util
            Reporter: Jianfei Cheng


In RegionMover, [timeoutInSeconds was 
calculated|https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/util/RegionMover.java#L685-L686]
 without considering retry attempts when using MoveWithAck. So 
waitMoveTasksToFinish may exit even though there are remaining retries in 
MoveWithAck.

To fix it, use regionsToMove.size() * wait_per_region * number_of_retries to 
calculate timeoutInSeconds



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to