apache/dubbo

AbstractCacheManager destroy Framework's executorService when shutdown

Open

#13,615 建立於 2024年1月5日

在 GitHub 查看
 (8 留言) (0 反應) (0 負責人)Java (26,453 fork)batch import
component/sdkhelp wantedtype/enhancement

倉庫指標

Star
 (41,524 star)
PR 合併指標
 (平均合併 7天 14小時) (30 天內合併 20 個 PR)

描述

The executorService in AbstractCacheManager is passed in from outside and belongs to FrameworkModel. However, when an ApplicationModel is destroyed, the destroy of AbstractCacheManager will be triggered, and the public executorService will be shut down, causing other ApplicationModels to no longer be able to refresh the dubbo cache.


AbstractCacheManager中的executorService是外部传入,属于FrameworkModel,但是一个ApplicationModel销毁时,会触发AbstractCacheManager的destroy,就把这个公共的executorService shutdown 了,导致其他ApplicationModel不能再刷新dubbo cache

貢獻者指南