jcongithub opened a new pull request, #7488:
URL: https://github.com/apache/hbase/pull/7488

   This PR fixes the miscalculated maxWait in MoveWithAck using current time 
instead of sartTime
   
   In MoveWithAck, [the maxWait timeout was calculated inside the retry 
loop](https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/util/MoveWithAck.java#L83-L84)
 using a fixed startTime calculated at the out side of the retry loop, causing 
it to remain constant across all retry attempts. This means that each retry 
didn't really check isSameServer and marks all retries failed.
   
   


-- 
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