Skip to content

Pipe: manage ConfigNode receiver temporary memory#18144

Open
Caideyipi wants to merge 1 commit into
masterfrom
pipe-confignode-memory-control
Open

Pipe: manage ConfigNode receiver temporary memory#18144
Caideyipi wants to merge 1 commit into
masterfrom
pipe-confignode-memory-control

Conversation

@Caideyipi

Copy link
Copy Markdown
Collaborator

Summary

  • Introduce a unified ConfigNode Pipe memory manager and move PipePeriodicalLogReducer resizing onto it.
  • Account ConfigNode receiver snapshot piece request bodies before deserializing/writing file pieces.
  • Account TRANSFER_COMPRESSED decompression extra buffer and return temporary-unavailable status on allocation failure.
  • Update ConfigNode Pipe memory config comments to cover log reducer and receiver temporary buffers.

Tests

  • mvn spotless:apply -pl iotdb-core/confignode,iotdb-core/node-commons
  • mvn -Ddevelocity.off=true -Dcheckstyle.skip=true -Dspotless.check.skip=true test-compile -pl iotdb-core/confignode -DskipTests
  • mvn -Ddevelocity.off=true -Dcheckstyle.skip=true -Dspotless.check.skip=true test-compile -P with-zh-locale -pl iotdb-core/confignode -DskipTests

@sonarqubecloud

sonarqubecloud Bot commented Jul 8, 2026

Copy link
Copy Markdown

@codecov

codecov Bot commented Jul 8, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 65 lines in your changes missing coverage. Please review.
✅ Project coverage is 41.86%. Comparing base (e44cbbb) to head (7962044).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
...e/resource/memory/PipeConfigNodeMemoryManager.java 0.00% 45 Missing ⚠️
...ipe/receiver/protocol/IoTDBConfigNodeReceiver.java 0.00% 17 Missing ⚠️
...r/pipe/resource/PipeConfigNodeResourceManager.java 0.00% 2 Missing ⚠️
...pipe/agent/runtime/PipeConfigNodeRuntimeAgent.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master   #18144      +/-   ##
============================================
- Coverage     41.87%   41.86%   -0.01%     
  Complexity      318      318              
============================================
  Files          5297     5298       +1     
  Lines        374093   374138      +45     
  Branches      48287    48292       +5     
============================================
- Hits         156645   156639       -6     
- Misses       217448   217499      +51     

☔ View full report in Codecov by Harness.
📢 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.

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