You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "jcongithub (via GitHub)" <gi...@apache.org> on 2025/12/04 15:42:27 UTC

Re: [PR] Fix miscalculated maxWait timeout in MoveWithAck [hbase]

jcongithub commented on PR #7488:
URL: https://github.com/apache/hbase/pull/7488#issuecomment-3612869685

   @mnpoonia Thanks for the review. In the current code, the wait loop is inside the retry loop, so maxWait should be per-retry. If maxWait were a single absolute deadline for all retries, once the first retry waits up to that deadline, subsequent retries would skip the wait loop because the current time already exceeds the deadline. As a result, isSameServer(...) would not be invoked again, sameServer would never update after the first retry, and the move would fail regardless of later attempts.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hbase.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org