Skip to content

Fix WAL search index freezing#17811

Merged
jt2594838 merged 1 commit into
apache:masterfrom
Caideyipi:revert-17670-wal-separator-compat
Jun 3, 2026
Merged

Fix WAL search index freezing#17811
jt2594838 merged 1 commit into
apache:masterfrom
Caideyipi:revert-17670-wal-separator-compat

Conversation

@Caideyipi

Copy link
Copy Markdown
Collaborator

Summary

  • Freeze encoded search index in WALInfoEntry at entry creation time.
  • Serialize SearchNode WAL values with the frozen encoded index, including lastFragment.
  • Add WALFileTest coverage for mutation after entry creation.

Tests

  • mvn -Ddevelocity.off=true -pl iotdb-core/datanode -Dtest=WALFileTest#testWALInfoEntryFreezesSearchIndexAtCreation test
  • mvn -Ddevelocity.off=true -pl iotdb-core/datanode -Dtest=WALFileTest test

@jt2594838
jt2594838 merged commit 011bdec into apache:master Jun 3, 2026
44 of 45 checks passed
@jt2594838
jt2594838 deleted the revert-17670-wal-separator-compat branch June 3, 2026 02:12
MileaRobertStefan pushed a commit to MileaRobertStefan/iotdb that referenced this pull request Jun 26, 2026
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