Skip to content

Optimize load partition routing#17863

Merged
jt2594838 merged 1 commit into
apache:masterfrom
Caideyipi:optimize-load-routing
Jun 9, 2026
Merged

Optimize load partition routing#17863
jt2594838 merged 1 commit into
apache:masterfrom
Caideyipi:optimize-load-routing

Conversation

@Caideyipi

Copy link
Copy Markdown
Collaborator

Summary

  • Avoid borrowing a ConfigNode client when load data partition can be served from cache.
  • Reduce duplicated partition-slot routing work for single TsFile and chunk-data load paths.
  • Replace stream-heavy partition query result assembly with pre-sized loops.

Tests

  • mvn -DskipTests spotless:check -pl iotdb-core/datanode
  • mvn -DskipTests -Dcheckstyle.skip=true -pl iotdb-core/datanode compile (fails locally in unrelated generated-source/cache state: missing IFill/Accumulator/ComparatorChain and QueryModificationLoader signature mismatch; touched files are not reported)

@jt2594838 jt2594838 merged commit 4d55d51 into apache:master Jun 9, 2026
20 checks passed
@jt2594838 jt2594838 deleted the optimize-load-routing branch June 9, 2026 04:03
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