chanming123 opened a new issue, #2482: URL: https://github.com/apache/apisix-ingress-controller/issues/2482
### Current Behavior 1. 有一个leader和一个candidate 2. 修改apisixupstream资源 3. leader和candidate 同时put upstream 到apisix的admin api 4. leader put的upstream.node 正确,candidate put的upstream.node 错误 ### Expected Behavior 理论上应该只有 leader可以去put upstream 到apisix的admin api ### Error Logs 看了代码应该是candidate不会更新本地的upstream.node ,因为只有在执行apisixroute或者endpoint更新(我用的是endpoint模式)的时候才会更新本地的upstream.node,但这个操作是经过SyncManifests 去判断,所以只有leader会更新本地cache的upstream.node ### Steps to Reproduce resolveGranularity 是endpoint,开debug日志,两个controller节点 1. 下发ar,au,svc 2. 变更svc对应的ip(例如改selector) 3. 变更au的内容 4.就会看到两个controller都向apisix的admin-api put 了一份upstream对象,candidate节点put的upstream.node是错误的 ### Environment apisix-ingress-controller v1.8.1 -- 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...@apisix.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org