You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2025/05/16 13:44:41 UTC

(hbase) branch branch-2 updated: HBASE-29280 Fix bug in RawAsyncTableImpl#coprocessorServiceUntilComplete retry logic (#6952)

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

zhangduo pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2 by this push:
     new 50416e71727 HBASE-29280 Fix bug in RawAsyncTableImpl#coprocessorServiceUntilComplete retry logic (#6952)
50416e71727 is described below

commit 50416e7172794e43fdee7b0f8ea975d452690217
Author: Charles Connell <cc...@hubspot.com>
AuthorDate: Fri May 16 09:33:45 2025 -0400

    HBASE-29280 Fix bug in RawAsyncTableImpl#coprocessorServiceUntilComplete retry logic (#6952)
    
    Signed-off-by: Duo Zhang <zh...@apache.org>
    (cherry picked from commit 767726ce03fa0de09aa25e6a719f11f22693a86d)
---
 .../src/main/java/org/apache/hadoop/hbase/client/RawAsyncTableImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RawAsyncTableImpl.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RawAsyncTableImpl.java
index db8317b6b4d..05dd5ea6394 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RawAsyncTableImpl.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RawAsyncTableImpl.java
@@ -863,7 +863,7 @@ class RawAsyncTableImpl implements AsyncTable<AdvancedScanResultConsumer> {
           Duration waitInterval = callback.getWaitInterval(r, region);
           LOG.trace("Coprocessor returned incomplete result. "
             + "Sleeping for {} before making follow-up request.", waitInterval);
-          if (waitInterval.isZero()) {
+          if (!waitInterval.isZero()) {
             AsyncConnectionImpl.RETRY_TIMER.newTimeout(
               (timeout) -> coprocessorServiceUntilComplete(stubMaker, updatedCallable, callback,
                 locateFinished, unfinishedRequest, region, span),