This is an automated email from the ASF dual-hosted git repository.

adoroszlai pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 46d02ca23e6 HADOOP-19899. Fix sleep time in RetryInvocationHandler 
(#8507)
46d02ca23e6 is described below

commit 46d02ca23e61dd048daa8f85cb379ecfc017d042
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Sun May 24 09:06:38 2026 +0200

    HADOOP-19899. Fix sleep time in RetryInvocationHandler (#8507)
---
 .../main/java/org/apache/hadoop/io/retry/RetryInvocationHandler.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/retry/RetryInvocationHandler.java
 
b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/retry/RetryInvocationHandler.java
index 9707ee388e1..4588c71aa3b 100644
--- 
a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/retry/RetryInvocationHandler.java
+++ 
b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/retry/RetryInvocationHandler.java
@@ -132,7 +132,7 @@ CallReturn processWaitTimeAndRetryInfo() throws 
InterruptedIOException {
           callId, retryInfo, waitTime);
       if (waitTime != null && waitTime > 0) {
         try {
-          Thread.sleep(retryInfo.delay);
+          Thread.sleep(waitTime);
         } catch (InterruptedException e) {
           Thread.currentThread().interrupt();
           if (LOG.isDebugEnabled()) {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to