nginx-upsync-module icon indicating copy to clipboard operation
nginx-upsync-module copied to clipboard

upsync 和 nginx_upstream_check_module 同时使用时,状态不统一的问题

Open bubbleatgit opened this issue 5 years ago • 1 comments

环境描述

  • openresty 1.15.8.3
  • nginx-upsync-module master分支
  • 配套的nginx_upstream_check_module
  • yaoweibin的 nginx_upstream_check_module 中的 check_1.16.+.patch
  • 服务发现: etcd

问题描述

当这两个插件同时使用时,使用upsync动态修改upstream中节点的 down 状态,比如把 down 置为 1,nginx_upstream_check_module 模块的 check_status 指令的状态不会同步 upsync 的状态。

如图所示:

image image

请问大佬有什么解决方案吗

bubbleatgit avatar Apr 18 '20 07:04 bubbleatgit

Hey @bubbleatgit , how did you manage to compile Nginx with nginx_upstream_check_module with 1.16.1+patch and nginx_upsync_module?

grbesicb avatar Jul 15 '20 10:07 grbesicb