Repository navigation
Conversation
…er Ratis (#19053) * [Bugfix] Replay Ratis historical TsFiles without Pipe progress Treat MinimumProgressIndex as unknown for Ratis historical extraction so successful writes remain eligible for replay after a leader change. Preserve valid-index and other consensus-protocol coverage filtering. Add a regression test for initial and resumed checkpoints and the unaffected filtering behavior. * Disable Pipe and Subscription with Ratis * Restore ConfigNode descriptor imports * Revert "Disable Pipe and Subscription with Ratis" This reverts commit 7d4912d. * Refine Ratis Pipe and Subscription restrictions * Fix Ratis pipe recovery and receiver validation gaps * Fix Pipe coordinator drop races and Ratis PlanNode admission * Remove redundant consensus pipe exemptions from Ratis checks * Address receiver review feedback (cherry picked from commit ef9e799)
Caideyipi
marked this pull request as draft
November 6, 2026 08:16
Caideyipi
marked this pull request as ready for review
November 6, 2026 09:02
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Backport #19053 (
ef9e799f50a522ff249f2f77a4a00fa413e46aa5) todev/1.3, based on82b5dcd52b208fd856e3648b6682d3b57e05ed95.Disable Subscription and Pipes whose effective inclusion/exclusion parameters include
data.insertwhen DataRegion consensus uses Ratis. Preserve metadata/deletion-only synchronization, recheck Pipe mutations inside procedure validation, discard disallowed recovered tasks, and reject insertion payloads at the receiver. Preserve the source fix for historical Ratis files with unknown Pipe progress.Compatibility adaptations
PipeHistoricalDataRegionTsFileSource.ConfigNodeMessagesandDataNodePipeMessagesclasses because 1.3 has no shared Pipe message source root.Validation
mvn clean test -P with-integration-tests -pl iotdb-api/pipe-api,iotdb-core/node-commons,iotdb-core/confignode,iotdb-core/datanode -amwith the nine affected regression classes selected. All selected tests passed with no failures, errors, or skips.mvn clean test-compile -P with-integration-tests,with-zh-locale -pl iotdb-api/pipe-api,iotdb-core/node-commons,iotdb-core/confignode,iotdb-core/datanode -am -DskipTests.a231f2e89b978e87da69f50425b824157abb9f8e, rebuilding the required IoTDB module closure from clean source, using JDK 17 and a source-built TsFile dependency. Tests ran remotely; they were not run locally.git diff --check, preservation of existing target tests, bilingual message key/placeholder parity, and added-message checks passed.The earlier full-reactor
testcommand reacheddistributionbut could not resolve reactor ZIP artifacts that thetestphase does not produce. The focused module reactor above passed. Distribution packaging and integration tests were not run.