Skip to content

fix: improve DataNode reachability check in ensureNodeStatus#17446

Merged
JackieTien97 merged 2 commits intomasterfrom
fixIT0408
Apr 8, 2026
Merged

fix: improve DataNode reachability check in ensureNodeStatus#17446
JackieTien97 merged 2 commits intomasterfrom
fixIT0408

Conversation

@shuwenwei
Copy link
Copy Markdown
Member

Summary

  • Add 1-second timeout to TSocket when checking DataNode port reachability

Changes

  • Modify AbstractEnv.ensureNodeStatus() to use TSocket with timeout
  • Verify DataNode endpoint is reachable when target status is RUNNING

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 8, 2026

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 39.76%. Comparing base (cfce7d9) to head (9eaabf5).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master   #17446   +/-   ##
=========================================
  Coverage     39.76%   39.76%           
  Complexity      312      312           
=========================================
  Files          5135     5135           
  Lines        347002   347037   +35     
  Branches      44213    44219    +6     
=========================================
+ Hits         137981   137999   +18     
- Misses       209021   209038   +17     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@JackieTien97 JackieTien97 merged commit b4644ba into master Apr 8, 2026
28 of 30 checks passed
@JackieTien97 JackieTien97 deleted the fixIT0408 branch April 8, 2026 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants