polarismesh / polaris-java

Lightweight Java SDK used as Proxyless Service Governance
Other
136 stars 82 forks source link

polaris客户端获取不到其他客户端更新的ip地址 #535

Open wjxhhh96 opened 1 month ago

wjxhhh96 commented 1 month ago

Describe the bug polaris客户端获取不到其他客户端更新的ip地址

To Reproduce 【偶发】客户端一在启动后获取到客户端二的ip地址,并能进行服务转发。 但是客户端二重新部署后,ip变化。客户端一没有监听到客户端二 的变更事件。仍是访问客户端旧的ip地址。

Expected behavior

Environment 版本:

com.tencent.cloud spring-cloud-tencent-dependencies 1.13.1-2023.0.0 pom

Additional context [Add any other context about the problem here.](polaris.log.1:12628:2024-07-09 15:16:29.828 INFO [polaris-clean-expire-pendingtask-1:c.t.p.p.c.c.DestroyableServerConnector] [ServerConnector]retry schedule task for GrpcServiceUpdateTask{taskType=LONG_RUNNING, taskStatus=RUNNING, serviceEventKey=ServiceEventKey{serviceKey=ServiceKey{namespace='dev', service='xxxx-base-biz'}, eventType=INSTANCE}, targetClusterType=SERVICE_DISCOVER_CLUSTER}, retry delay 500)