Skip to content

Conversation

CRZbulabula
Copy link
Contributor

The ConfigNodeRPCProcessor service would block for waiting to receive requests from DataNode, once when the connection is established. However, these threads would not be automatically recycled even there is no further requests. As a result, the number of threads in ConfigNode keep increase.

To recycle these idle threads in time, we use the non-blocking transport in this PR.

Copy link

codecov bot commented Sep 5, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 38.80%. Comparing base (164b581) to head (6a28e28).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #16351      +/-   ##
============================================
- Coverage     38.80%   38.80%   -0.01%     
  Complexity      198      198              
============================================
  Files          4912     4912              
  Lines        323413   323425      +12     
  Branches      41078    41085       +7     
============================================
- Hits         125507   125506       -1     
- Misses       197906   197919      +13     

☔ 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.

@OneSizeFitsQuorum
Copy link
Contributor

Seems uncorrelated for the code changes and the pr title/description

@CRZbulabula CRZbulabula marked this pull request as draft September 9, 2025 01:57
@CRZbulabula
Copy link
Contributor Author

Seems uncorrelated for the code changes and the pr title/description

Thx 4 ur kind concern. This PR is still W.I.P. Since we haven't found the best implementation according to the ConfigNodeRPCProcessor, I mark this PR to draft now.

@CRZbulabula CRZbulabula force-pushed the fix-cn-rpc-processor-block branch from 6a28e28 to fd51420 Compare September 11, 2025 09:47
Copy link

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