TarsCloud / TarsCpp

C++ language framework rpc source code implementation
BSD 3-Clause "New" or "Revised" License
523 stars 254 forks source link

doKeepAlive active in reg #265

Closed BeyondWUXF closed 1 year ago

BeyondWUXF commented 1 year ago

k8s扩缩容后同一ip端口可能被其它obj复用,如果开启keepAlive会导致tars_ping调用异常,keepAlive只针对在主控active的节点