zrlw edited a comment on issue #9168:
URL: https://github.com/apache/dubbo/issues/9168#issuecomment-955678243
是ServiceConfig的doDelayExport()方法执行时抛出的异常:
```
protected void doDelayExport() {
getScopeModel().getDefaultExtension(ExecutorRepository.class).getServiceExportExecutor()
.schedule(() -> {
try {
doExport();
} catch (Exception e) {
logger.error("Failed to export service config: " +
interfaceName, e);
}
}, getDelay(), TimeUnit.MILLISECONDS);
}
```
可能是getServiceExportExecutor获取到的executor正在做shutdown,获取方法的同步机制有缺陷。
不过我觉得DefaultExecutorRepository的serviceExportExecutor的scope应该改成framework,不应该随着每个application进行shutdown。
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]