Skip to content

Avoid login lock for pipe auth retry#18048

Open
Caideyipi wants to merge 2 commits into
masterfrom
fix-pipe-auth-retry-interval
Open

Avoid login lock for pipe auth retry#18048
Caideyipi wants to merge 2 commits into
masterfrom
fix-pipe-auth-retry-interval

Conversation

@Caideyipi

Copy link
Copy Markdown
Collaborator

Summary

  • slow down pipe retry intervals for authentication failures to avoid triggering the default login lock window
  • preserve receiver auth status codes in sync and legacy handshake error messages
  • add unit coverage for auth failure detection and retry interval behavior

Tests

  • mvn spotless:apply -pl iotdb-core/node-commons
  • mvn test -pl iotdb-core/node-commons -Dtest=PipeSleepIntervalTest
  • git diff --check

Notes

  • mvn -pl iotdb-core/datanode -DskipTests compile reached javac but failed in this environment with Java heap space / pagefile memory errors.
@codecov

codecov Bot commented Jun 29, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 64.70588% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 41.59%. Comparing base (7f41f06) to head (471eb0a).
⚠️ Report is 18 commits behind head on master.

Files with missing lines Patch % Lines
...pe/agent/task/subtask/PipeAbstractSinkSubtask.java 0.00% 4 Missing ⚠️
...mmons/pipe/sink/client/IoTDBSyncClientManager.java 0.00% 4 Missing ⚠️
...pipe/sink/protocol/legacy/IoTDBLegacyPipeSink.java 0.00% 3 Missing ⚠️
...pipe/agent/task/subtask/PipeReportableSubtask.java 95.65% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master   #18048      +/-   ##
============================================
+ Coverage     41.42%   41.59%   +0.16%     
  Complexity      318      318              
============================================
  Files          5282     5294      +12     
  Lines        369246   371259    +2013     
  Branches      47786    48040     +254     
============================================
+ Hits         152978   154441    +1463     
- Misses       216268   216818     +550     

☔ 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

2 participants