apache/dubbo

AbstractCacheManager destroy Framework's executorService when shutdown

Open

#13.615 aberto em 5 de jan. de 2024

Ver no GitHub
 (8 comments) (0 reactions) (0 assignees)Java (26.453 forks)batch import
component/sdkhelp wantedtype/enhancement

Métricas do repositório

Stars
 (41.524 stars)
Métricas de merge de PR
 (Mesclagem média 7d 14h) (20 fundiu PRs em 30d)

Description

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

Guia do colaborador