You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2023/05/05 12:27:22 UTC

[dubbo] branch 3.3 updated: fix: fix inappropriate invoke in unsubscribe retry task (#12231)

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

albumenj pushed a commit to branch 3.3
in repository https://gitbox.apache.org/repos/asf/dubbo.git


The following commit(s) were added to refs/heads/3.3 by this push:
     new 471f44b52d fix: fix inappropriate invoke in unsubscribe retry task (#12231)
471f44b52d is described below

commit 471f44b52d979d50102618d12864006ceb1152e9
Author: XIACYBING <35...@qq.com>
AuthorDate: Fri May 5 20:26:34 2023 +0800

    fix: fix inappropriate invoke in unsubscribe retry task (#12231)
---
 .../java/org/apache/dubbo/registry/retry/FailedUnsubscribedTask.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/retry/FailedUnsubscribedTask.java b/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/retry/FailedUnsubscribedTask.java
index 6814583df2..4b873f71b8 100644
--- a/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/retry/FailedUnsubscribedTask.java
+++ b/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/retry/FailedUnsubscribedTask.java
@@ -41,7 +41,7 @@ public final class FailedUnsubscribedTask extends AbstractRetryTask {
 
     @Override
     protected void doRetry(URL url, FailbackRegistry registry, Timeout timeout) {
-        registry.unsubscribe(url, listener);
+        registry.doUnsubscribe(url, listener);
         registry.removeFailedUnsubscribedTask(url, listener);
     }
 }