wxasacoder commented on issue #15756: URL: https://github.com/apache/dubbo/issues/15756#issuecomment-3498248202
<img width="1982" height="1372" alt="Image" src="https://github.com/user-attachments/assets/e44d5967-91b7-410b-83bd-e90a15a8575e" /> The problem occurs in the second step. The position of the method in the above screenshot is at: org.springframework.context.support.AbstractApplicationContext#doClose Please help me. I’ve already used the following preStop hook during Kubernetes rolling updates, but the following issue still occurs during the rollout. While the container is being KILLed, although the error here is caused by Servlet API calls triggering RPC invocations, even without incoming Servlet requests, in large-scale usage later on, if the Spring container is shutting down while many RabbitMQ and RocketMQ consumers are still processing messages, according to the principle I analyzed above, this problem will still occur during graceful shutdown. ```shell curl -s -f -X PUT \ -d "serviceName=$APPPATH" \ -d "ip=$MY_POD_IP" \ -d "port=8080" \ -d "enabled=false" \ -d "ephemeral=true" \ -d "namespaceId=$NACOS_DISCOVERY_NAME_SPACE" \ -d "groupName=$NACOS_DISCOVERY_GROUP" \ "$NACOS_DISCOVERY_ADDR/nacos/v2/ns/instance" ; \ curl http://127.0.0.1:18888/offline ; sleep 35 ``` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
