[CORRUPTED] Synthetic Benchmark PR #137964 - Fix for GET /_migration/deprecations doesn't report node deprecations if low watermark exceeded and GET /_migration/deprecations doesn't report node-level failures properly#36
Conversation
… if low watermark exceeded and GET /_migration/deprecations doesn't report node-level failures properly Closes elastic#137010 Closes elastic#137004
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||||
User description
Benchmark PR elastic#137964
Type: Corrupted (contains bugs)
Original PR Title: Fix for GET /_migration/deprecations doesn't report node deprecations if low watermark exceeded and GET /_migration/deprecations doesn't report node-level failures properly
Original PR Description: Closes elastic#137010
Closes elastic#137004
Original PR URL: elastic#137964
PR Type
Bug fix
Description
Fix disk low watermark deprecation check not being included in results
Correct node settings filtering to use unfiltered settings for watermark check
Improve error logging with structured logging for node failures
Add comprehensive test coverage for disk watermark deprecation warnings
Diagram Walkthrough
File Walkthrough
NodeDeprecationChecker.java
Enhanced error logging for node failuresx-pack/plugin/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/NodeDeprecationChecker.java
logger.debug()tologger.atInfo().withThrowable()forbetter exception context
TransportNodeDeprecationCheckAction.java
Fix watermark check and refactor deprecation issue collectionx-pack/plugin/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/TransportNodeDeprecationCheckAction.java
NodeRequestparameter fromnodeOperation()methodwatermark check
deprecation issues
original settings
TransportNodeDeprecationCheckActionTests.java
Add comprehensive test for watermark deprecation warningsx-pack/plugin/deprecation/src/test/java/org/elasticsearch/xpack/deprecation/TransportNodeDeprecationCheckActionTests.java
testDiskLowWatermarkIsIncludedInDeprecationWarnings()to verify watermark issues are included
DeprecationIssueMatcherfor flexible assertion matchingNodeRequestparameter137964.yaml
Add changelog entry for bug fixdocs/changelog/137964.yaml
GET /_migration/deprecationsdoesn't report node-level failures properly elastic/elasticsearch#137010 andGET /_migration/deprecationsdoesn't report node deprecations if low watermark exceeded elastic/elasticsearch#137004