Skip to content

Fix stale pipe runtime error messages#18061

Open
Caideyipi wants to merge 2 commits into
masterfrom
fix/clear-pipe-runtime-error-message
Open

Fix stale pipe runtime error messages#18061
Caideyipi wants to merge 2 commits into
masterfrom
fix/clear-pipe-runtime-error-message

Conversation

@Caideyipi

Copy link
Copy Markdown
Collaborator

Summary

  • Clear stale pipe runtime exception messages after a pipe successfully restarts or starts from runtime error.
  • Propagate exception clear time through ConfigNode consensus and DataNode task agents.
  • Keep newer runtime exceptions reportable after clear time.

Tests

  • mvn -pl iotdb-core/confignode,iotdb-core/node-commons -Dtest=PipeTaskInfoAutoRestartTest,PipeHeartbeatParserTest,PipeMetaDeSerTest test

@codecov

codecov Bot commented Jun 29, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 37.50000% with 50 lines in your changes missing coverage. Please review.
✅ Project coverage is 41.42%. Comparing base (186ce36) to head (cf23bde).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
...procedure/impl/pipe/task/StartPipeProcedureV2.java 0.00% 26 Missing ⚠️
...otdb/confignode/persistence/pipe/PipeTaskInfo.java 53.84% 12 Missing ⚠️
...e/iotdb/commons/pipe/agent/task/PipeTaskAgent.java 0.00% 8 Missing ⚠️
...de/consensus/response/pipe/task/PipeTableResp.java 0.00% 4 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master   #18061      +/-   ##
============================================
+ Coverage     41.39%   41.42%   +0.03%     
  Complexity      318      318              
============================================
  Files          5288     5288              
  Lines        370864   370926      +62     
  Branches      48006    48016      +10     
============================================
+ Hits         153505   153654     +149     
+ Misses       217359   217272      -87     

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

…ar-pipe-runtime-error-message

# Conflicts:
#	iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/pipe/PipeTaskInfo.java
#	iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/impl/pipe/task/StartPipeProcedureV2.java
#	iotdb-core/confignode/src/test/java/org/apache/iotdb/confignode/persistence/pipe/PipeTaskInfoAutoRestartTest.java
@sonarqubecloud

Copy link
Copy Markdown

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