Race condition in CircuitBreaker leading to NoSuchElementException
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức phù hợp với người mới
- 10/100
Hướng nghiên cứu
Issue nêu rằng race condition của CircuitBreaker đã được sửa trong OCI Java SDK phiên bản 2.51.2 và không cung cấp tệp nguồn, bài kiểm thử hoặc điểm vào nào để kiểm tra. Hãy xác minh phạm vi phiên bản bị ảnh hưởng và hướng dẫn phát hành; cách giải quyết được nêu là sử dụng phiên bản 2.51.2 hoặc mới hơn, vì vậy ở đây không có nhiệm vụ triển khai nào còn lại được mô tả.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
We have fixed this issue in version 2.51.2. If you are using any OCI Java SDK version(s) >= 2.47.0 and < 2.51.2, we recommend you to update to version 2.51.2 or later. If you are not using any of the affected OCI Java SDK versions, you can ignore this issue.
If for some reason you are not able to update to a non-affected version at this time, another option is to disable and opt out of the SDK's default support for circuit breakers, in service clients that you use in your code and which have enabled circuit breakers by default (almost all service clients). However, our recommended option is not this, but rather to instead update to version 2.51.2 or later.
If you are using the OCI Java SDK at any version(s) >= 2.47.0 and < 2.51.2, then you may be affected by a bug in the SDK's circuit breaker.
Description
When using OCI Java SDK versions >= 2.47.0 and versions < 2.51.2, CircuitBreaker may fail with NoSuchElementException when trying to remove elements from historyQueue. If this exception is thrown, the connection from the connection pool is not released. This could potentially result in the SDK being unable to make additional requests, because all connections are blocked.
Affected Versions
To help prevent their use, all affected versions are marked pre-release with a label Do not use this version in the SDK's GitHub Releases.
Solution
- Ngôn ngữ chính
- Java
- Star
- 243
- Fork
- 171
- Merge trung bình
- 5 phút
- Pull request đã merge (30 ngày)
- 4
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
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 oracle/oci-java-sdk
-
NoSuchMethodError in the circuit breaker since 3.103.0 when resilience4j 2.x is on the classpathĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
oracle/oci-java-sdk#803 ·
-
Potential token refresh timeout issue in Versions 2.91.0, 2.93.0, and 2.95.0 (Fixed in 2.97.0)Đang mởSDK
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 20/100
oracle/oci-java-sdk#788 ·
-
Identity Domains
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
oracle/oci-java-sdk#764 · 3 bình luận ·
-
SDK
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
oracle/oci-java-sdk#726 · 1 bình luận ·
-
Object Storage
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
oracle/oci-java-sdk#723 · 1 reaction ·
Tất cả issue của oracle/oci-java-sdk
Issue tương tự
-
enhancement infra
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
Maintainer thường phản hồi trong vòng 1 ngày
-
5.0.x backport bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
spring-cloud/spring-cloud-function#1569 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Move the spring-cloud-commons version and BOM import from the bus parent to the stream parentCó thể đã có người làm @olegz đã nhận hôm nay. Đang mởtask
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
spring-cloud/spring-cloud-stream#3355 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:cpan-port area:performance bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
fglock/PerlOnJava#2230 ·
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 76/100