Skip to content

Revert IoTConsensus batch accumulation changes - #18598

Merged
jt2594838 merged 2 commits into
apache:masterfrom
Caideyipi:revert-iot-consensus-batch-accumulation
Sep 8, 2026
Merged

Revert IoTConsensus batch accumulation changes#18598
jt2594838 merged 2 commits into
apache:masterfrom
Caideyipi:revert-iot-consensus-batch-accumulation

Conversation

@Caideyipi

Copy link
Copy Markdown
Collaborator

Description

Reverts the IoTConsensus batch accumulation changes introduced by #18522 and #18560, restoring the prior batching, memory accounting, and configuration reload behavior.

The conflict with #18569 is resolved by preserving the user-data-transfer audit handler and classifier fields while reverting the configuration and queue memory-ratio reload changes from #18522.

Verification

  • mvn spotless:apply -pl iotdb-core/consensus
  • mvn test -pl iotdb-core/consensus -DskipTests
  • mvn test -pl iotdb-core/consensus '-Dtest=IoTConsensusMemoryManagerTest,SyncStatusTest' -DfailIfNoTests=false (10 tests passed)

This PR has:

  • been self-reviewed.

Key changed/added classes (or packages if there are too many classes) in this PR

[IoTConsensus, IoTConsensusServerImpl, Batch, IoTConsensusMemoryManager, LogDispatcher, SyncStatus]

@jt2594838
jt2594838 merged commit 448a805 into apache:master Sep 8, 2026
39 checks passed
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