Instance stays when priority is changed
还没有人认领这个 Issue。
评估
调研方向
从 server/src/test/java/io/envoyproxy/controlplane/server/MoveInstanceToAnotherLocalityTest.java 和关联的测试提交开始,然后针对 Envoy 重现优先级变更快照。将观察到的行为与 Envoy issues 3327 和 3312 进行比较,以确定缺陷是在 java-control-plane 中还是在 Envoy 中;完成的标准是已经确定责任归属和预期的实例移除行为,并由回归测试覆盖。
由索引模型根据 Issue 内容生成。
描述
When I set the snapshot with the instance in locality dc1 with priority 0 and then set another one with instance in locality dc1 with priority 1, but without the first one, there are two instances in Envoy.
I've written following test
https://github.com/jakubdyszkiewicz/java-control-plane/commit/39b76bc71fe48ab8f727d66714ef3f3f427dc039
But then it turned out that the problem seems to be even more general.
When I set a snapshot with endpoint with priority 0, then set another one with priority 1, but without the first one - both stays in Envoy.
https://github.com/jakubdyszkiewicz/java-control-plane/blob/a2a6b4b5498fa1de734ed76aafcdf768067f525a/server/src/test/java/io/envoyproxy/controlplane/server/MoveInstanceToAnotherLocalityTest.java
Not sure whether this is an issue with java-control-plane or Envoy itself or this is just an expected behaviour.
I've seen issues in Envoy that may be connected with this
https://github.com/envoyproxy/envoy/issues/3327
https://github.com/envoyproxy/envoy/issues/3312
@snowp it would be helpful if you could take a look at this, because you fixed above issues. Thank you.
- 主要语言
- Java
- 星标
- 312
- 派生
- 150
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
envoyproxy/java-control-plane 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 45/100
envoyproxy/java-control-plane#481 ·
-
难度 4/5 3-5 天 新手友好度 30/100
envoyproxy/java-control-plane#471 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 45/100
envoyproxy/java-control-plane#463 ·
-
help 未关闭
难度 4/5 3-5 天 新手友好度 25/100
envoyproxy/java-control-plane#432 ·
-
难度 2/5 1-3 小时 新手友好度 45/100
envoyproxy/java-control-plane#411 ·
查看 envoyproxy/java-control-plane 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 85/100
HL7/fhir-ig-publisher#1375 ·
-
难度 2/5 1-3 小时 新手友好度 74/100
-
Flaky: a relaunched catch-up replay can still report catching up right after its marker is written 未关闭bug
难度 2/5 1-3 小时 新手友好度 78/100
johanhaleby/occurrent#1134 ·
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
objectionary/jeo-maven-plugin#1811 ·
-
难度 2/5 1-3 小时 新手友好度 88/100