apache/dubbo

AbstractCacheManager destroy Framework's executorService when shutdown

Offen

#13.615 geöffnet am 05.01.2024

 (8 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Java (26.453 Forks)batch import
component/sdkhelp wantedtype/enhancement

Repository-Metriken

Stars
 (41.524 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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

Contributor Guide