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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to