Closed CrazyHZM closed 2 months ago
The recent update in the SOFA Boot project focuses on refining the readiness health check mechanism. Specifically, the HealthCheckerProcessor
now utilizes readinessHealthCheckers
instead of the previous healthCheckers
. This adjustment ensures that only relevant checkers are considered during readiness assessments, enhancing the precision of the system's readiness state evaluation.
File Path | Change Summary |
---|---|
.../sofa/boot/actuator/health/HealthCheckerProcessor.java |
Updated to use readinessHealthCheckers in readinessHealthCheck method. |
🐰✨ A hop of joy, a leap so free, Code changes bloom like a tree. Readiness checks, now precise, A rabbit's touch, oh so nice! Celebrate, for we enhance, With every single code dance! 🌟🎉
sofa-boot-project/sofa-boot-actuator/src/main/java/com/alipay/sofa/boot/actuator/health/HealthCheckerProcessor.java (2)
`109-109`: Correct usage of `readinessHealthCheckers` ensures that only relevant health checkers are used for readiness checks. --- `112-114`: Effective use of `CountDownLatch` and `AtomicBoolean` for managing parallel health checks and capturing results accurately.
Summary by CodeRabbit