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:46 UTC
(hbase) branch branch-3 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-3
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-3 by this push:
new 5ea876775e0 HBASE-29280 Fix bug in RawAsyncTableImpl#coprocessorServiceUntilComplete retry logic (#6952)
5ea876775e0 is described below
commit 5ea876775e0ee2532048b9f50482b4194df22adf
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 2f8b0dff162..553b4afa55e 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
@@ -825,7 +825,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),