You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/09/15 06:36:45 UTC

[GitHub] [dubbo] zrlw commented on issue #8805: [3.0] 集成构建,DubboShutdownHook线程频繁抛IllegalStateException异常:Shutdown in progress

zrlw commented on issue #8805:
URL: https://github.com/apache/dubbo/issues/8805#issuecomment-919741212


   前面还有LazyConnectExchangeClient的warning
   ```
   2021-09-15T03:06:39.5666317Z [15/09/21 03:06:36:036 UTC] DubboShutdownHook  WARN dubbo.ReferenceCountExchangeClient:  [DUBBO] 192.168.16.2:20880 org.apache.dubbo.samples.annotation.api.HelloService:1.0.0_annotation safe guard client , should not be called ,must have a bug., dubbo version: 3.0.3-SNAPSHOT, current host: 192.168.16.3
   ```
   warning方法的注解说warn once every 5000 invocations,但是第一次调用就会warning,因为warningcount为0,模多少都还是0:
   ```
               if (warningcount.get() % warning_period == 0) {
                   logger.warn(url.getAddress() + " " + url.getServiceKey() + " safe guard client , should not be called ,must have a bug.");
               }
               warningcount.incrementAndGet();
   ```
   LazyConnectExchangeClient的request为什么会被DubboShutdownHook调用?


-- 
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