We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35b34fe commit 94633f0Copy full SHA for 94633f0
dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/retry/AbstractRetryTask.java
@@ -124,6 +124,9 @@ public void run(Timeout timeout) throws Exception {
124
logger.info(taskName + " : " + url);
125
}
126
try {
127
+ if (!registry.isAvailable()) {
128
+ throw new IllegalStateException("Registry is not available.");
129
+ }
130
doRetry(url, registry, timeout);
131
} catch (Throwable t) { // Ignore all the exceptions and wait for the next retry
132
0 commit comments