funky-eyes commented on issue #6500:
URL: 
https://github.com/apache/incubator-seata/issues/6500#issuecomment-2078824955

   那你应该遇到的是1.5以后得bug,这个bug导致优雅下线失效了,这个问题将在1.8.1和2.1上被修复。
   
原因是由于seata-server有一个10s自检的的线程,它会将所有从注册中心的连接进行检查,检查后才放入可使用列表,也就是这个列表的时间一直是滞后注册中心10s,然后seata-server的优雅下线时的等待时间只有3s,导致请求时拿到了已经下线的seata-server地址引发的这个问题。
   The bug you encountered, which affects graceful shutdown, is expected to be 
fixed in versions 1.8.1 and 2.1. This issue arises from a bug introduced after 
version 1.5.
   
   The root cause lies in a 10-second self-checking thread in the Seata server. 
This thread verifies all connections from the registry center and only adds 
them to the available list after the check. Consequently, the time in this list 
lags behind the registry center by 10 seconds. The graceful shutdown feature of 
Seata server has a wait time of only 3 seconds, leading to requests receiving 
the address of the Seata server, which has already been taken offline, thereby 
causing the issue.


-- 
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-unsubscr...@seata.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org
For additional commands, e-mail: notifications-h...@seata.apache.org

Reply via email to