You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "gulang12 (via GitHub)" <gi...@apache.org> on 2023/07/04 09:00:40 UTC

[GitHub] [dubbo] gulang12 commented on issue #12620: dubbo3.1.5版本BUG!!!,启动是出现线程死锁导致启动服务失败

gulang12 commented on issue #12620:
URL: https://github.com/apache/dubbo/issues/12620#issuecomment-1619838686

   > Spring 启动有几个阶段
   > 
   > 1. 加载全部的 definition -> Dubbo 在这个时间获取全量的配置
   > 2. 加载 ApplicationListener -> Dubbo 的 Listener 初始化
   > 3. 发布 EarlyEvent -> Dubbo 在这个时候初始化配置
   > 
   > 如果在阶段 2 发起了 Dubbo 调用会存在死锁
   > 
   > 这个修改的原因是如果在阶段 1 直接初始化了所有配置,很可能存在:
   > 
   > 1. Registry、Application 等配置没有全量加载,部分服务发布、订阅非预期
   > 2. Reference 的服务早于 Service 的服务初始化,导致本地循环依赖的服务启动 check 失败
   
   这个在3.1.5具体怎么解决,有解决方案吗,因为我们之前调研版本的时候在官网看到3.1.5是稳定版本了,所以现在所有应用都在升级3.1.5版本,这个问题不解决没法升级


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org