zhx
f89ebe797e
fix: drain internal CLB targets before restarting service instances
部署/滚动重启非 gateway 实例时,先把该实例在内网 CLB(app-internal/pay-internal)
上的后端权重摘到 0 并等待排空,实例恢复健康后再还原权重。
此前只做 Nacos 摘流,但业务服务之间(如 live -> other)经内网 CLB 固定 VIP
互调,Nacos 摘流对这部分流量无效:容器被杀后 CLB 健康检查(5s x 3 次)摘除
死后端之前,调用方请求持续打到死后端,把调用方线程池拖垮,表现为
“部署 other 时 live 挂掉一个”(health 探测超时 60-70 秒)。
通过 INTERNAL_CLB_IDS 配置启用;未配置时保持历史行为。
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 12:56:27 +08:00
..
2026-04-23 04:19:55 +08:00
2026-05-12 15:54:53 +08:00
2026-04-23 04:19:55 +08:00
2026-07-10 12:56:27 +08:00
2026-04-23 16:49:36 +08:00
2026-04-23 04:19:55 +08:00