[ 
https://issues.apache.org/jira/browse/HBASE-29735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18043356#comment-18043356
 ] 

Jianfei Cheng edited comment on HBASE-29735 at 12/8/25 12:22 AM:
-----------------------------------------------------------------

PR [#7519|https://github.com/apache/hbase/pull/7519]


was (Author: JIRAUSER311515):
PR [#759|https://github.com/apache/hbase/pull/7519]

> 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
>            Assignee: Jianfei Jiang
>            Priority: Major
>
> 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