Instance stays when priority is changed
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Bắt đầu với server/src/test/java/io/envoyproxy/controlplane/server/MoveInstanceToAnotherLocalityTest.java và commit kiểm thử được liên kết, sau đó tái hiện các snapshot thay đổi mức ưu tiên với Envoy. So sánh hành vi quan sát được với các issue 3327 và 3312 của Envoy để xác định liệu lỗi nằm trong java-control-plane hay Envoy; hoàn tất khi trách nhiệm và hành vi dự kiến khi xóa instance được xác định và được bao phủ bởi một kiểm thử hồi quy.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Java
- Star
- 312
- Fork
- 150
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của envoyproxy/java-control-plane
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
envoyproxy/java-control-plane#481 ·
-
Support stream scoped routesĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
envoyproxy/java-control-plane#471 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
envoyproxy/java-control-plane#463 ·
-
helpĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
envoyproxy/java-control-plane#432 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
envoyproxy/java-control-plane#411 ·
Tất cả issue của envoyproxy/java-control-plane
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
OpenAPITools/openapi-generator#25014 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
AloisSeckar/demos-java#380 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
openhab/openhab-core#5847 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
appsmithorg/appsmith#42297 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100