Skip to content

[To dev/1.3] Optimize tablet RPC deserialization (#18248)#18268

Merged
jt2594838 merged 1 commit into
apache:dev/1.3from
Caideyipi:backport-18248-dev-1.3
Jul 22, 2026
Merged

[To dev/1.3] Optimize tablet RPC deserialization (#18248)#18268
jt2594838 merged 1 commit into
apache:dev/1.3from
Caideyipi:backport-18248-dev-1.3

Conversation

@Caideyipi

Copy link
Copy Markdown
Collaborator

Description

Backport #18248 to dev/1.3.

The 1.3 branch already uses direct uncompressed tablet decoding and does not contain the newer compressed TabletDecoder path, so this backport applies the compatible optimizations:

  • canonicalize Thrift measurement lists in place to avoid replacement-list allocations
  • deserialize tablet data types once and reuse the typed array
  • pre-size and reuse per-tablet values in multi-tablet requests
  • preserve the existing 1.3 null-measurement behavior

Tests

  • mvn spotless:apply -pl iotdb-core/datanode,iotdb-core/node-commons
  • mvn test -pl iotdb-core/node-commons -Dtest=PathUtilsTest
  • mvn compile -pl iotdb-core/node-commons,iotdb-core/datanode -DskipTests

* [Performance] Optimize tablet RPC deserialization

* [Performance] Add tablet RPC deserialization benchmarks

* Address tablet deserialization review comments
@jt2594838
jt2594838 merged commit 8e402ea into apache:dev/1.3 Jul 22, 2026
16 checks passed
@jt2594838
jt2594838 deleted the backport-18248-dev-1.3 branch July 22, 2026 03:55
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