Skip to content

Pipe: Implement schema batch for meta transfer#18067

Merged
jt2594838 merged 1 commit into
dev/1.3from
cp-837711d-dev-1.3
Jun 30, 2026
Merged

Pipe: Implement schema batch for meta transfer#18067
jt2594838 merged 1 commit into
dev/1.3from
cp-837711d-dev-1.3

Conversation

@Caideyipi

Copy link
Copy Markdown
Collaborator

Cherry-pick 837711d to dev/1.3.

Validation:

  • mvn spotless:apply -pl iotdb-core/datanode,iotdb-core/node-commons
  • mvn -pl iotdb-core/node-commons -DskipTests "-Dmdep.analyze.skip=true" install
  • mvn -pl iotdb-core/datanode "-Dtest=PipeDataNodeThriftRequestTest,PipeSchemaRegionWritePlanEventBatchTest,PipeSchemaRegionSinkTest,PipeSchemaRegionSinkMetricsTest" "-DfailIfNoTests=false" "-Dsurefire.failIfNoSpecifiedTests=false" test

* Schema

* fix

* fix

* Update PipeSchemaRegionSinkMetricsTest.java

* spt

* Address schema batch review comments

* Avoid extra copy in plan node airgap transfer

* Fix pipe plan node byte buffer test
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
5.1% Duplication on New Code (required ≤ 5%)

See analysis details on SonarQube Cloud

@codecov

codecov Bot commented Jun 30, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 80.65844% with 94 lines in your changes missing coverage. Please review.
✅ Project coverage is 43.07%. Comparing base (9ad7c19) to head (a3710d0).

Files with missing lines Patch % Lines
...nk/protocol/thrift/sync/IoTDBSchemaRegionSink.java 60.49% 32 Missing ⚠️
...k/protocol/airgap/IoTDBSchemaRegionAirGapSink.java 57.97% 29 Missing ⚠️
...ble/batch/PipeSchemaRegionWritePlanEventBatch.java 91.44% 23 Missing ⚠️
.../pipe/agent/task/subtask/sink/PipeSinkSubtask.java 0.00% 7 Missing ⚠️
...he/iotdb/commons/pipe/sink/protocol/IoTDBSink.java 0.00% 2 Missing ⚠️
...oad/evolvable/request/PipeTransferPlanNodeReq.java 91.66% 1 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##             dev/1.3   #18067      +/-   ##
=============================================
+ Coverage      42.95%   43.07%   +0.12%     
  Complexity       241      241              
=============================================
  Files           3624     3625       +1     
  Lines         241991   242467     +476     
  Branches       29524    29569      +45     
=============================================
+ Hits          103940   104448     +508     
+ Misses        138051   138019      -32     

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

@jt2594838 jt2594838 merged commit 59243c5 into dev/1.3 Jun 30, 2026
18 of 20 checks passed
@jt2594838 jt2594838 deleted the cp-837711d-dev-1.3 branch June 30, 2026 07:43
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