Feature/iotconsensus snap multi dir#16811
Merged
jt2594838 merged 14 commits intoJun 3, 2026
Merged
Conversation
jt2594838
reviewed
Dec 2, 2025
Contributor
|
Should include some compatibility design, like adding storageDir to storageDirs. |
This reverts commit 1fef8e4.
# Conflicts: # iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/receiver/protocol/thrift/IoTDBDataNodeReceiver.java # iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/util/LoadUtil.java
hongzhi-gao
force-pushed
the
feature/iotconsensus-snap-multi-dir
branch
from
December 4, 2025 09:58
85037c6 to
7f86ba6
Compare
jt2594838
approved these changes
Dec 9, 2025
…-snap-multi-dir # Conflicts: # iotdb-core/consensus/src/main/java/org/apache/iotdb/consensus/iot/IoTConsensusServerImpl.java # iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/receiver/protocol/thrift/IoTDBDataNodeReceiver.java # iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/util/builder/PipeTsFileBuilder.java # iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/DataRegion.java # iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/execute/task/InnerSpaceCompactionTask.java # iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/selector/impl/SizeTieredCompactionSelector.java # iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/snapshot/SnapshotLoader.java # iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/tsfile/generator/TsFileNameGenerator.java # iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/wal/allocation/AbstractNodeAllocationStrategy.java # iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/util/LoadUtil.java # iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/rescon/disk/TierManager.java # iotdb-core/datanode/src/test/java/org/apache/iotdb/db/storageengine/dataregion/snapshot/IoTDBSnapshotTest.java # iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/disk/FolderManager.java # iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/disk/strategy/DirectoryStrategy.java # iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/disk/strategy/MinFolderOccupiedSpaceFirstStrategy.java
luoluoyuyu
force-pushed
the
feature/iotconsensus-snap-multi-dir
branch
from
June 3, 2026 04:15
a1720e0 to
8ff057c
Compare
jt2594838
approved these changes
Jun 3, 2026
MileaRobertStefan
pushed a commit
to MileaRobertStefan/iotdb
that referenced
this pull request
Jun 26, 2026
* move FolderManager to node-common module * move FolderManager to node-common module * Multi-directory snapshot support for IoTConsensus receiver * Revert "Multi-directory snapshot support for IoTConsensus receiver" This reverts commit 1fef8e4. * IoTConsensus receiver snapshot multi dirs * fix imports * Add keep same disk when loading snapshot * Use commons i18n for disk messages * Fix multi directory strategy package prefix * Fix IoTConsensus snapshot fragment placement * Use local data dirs for IoTConsensus snapshot receive * Honor folder availability for same disk selection --------- Co-authored-by: luoluoyuyu <zhenyu@apache.org>
JackieTien97
pushed a commit
that referenced
this pull request
Jun 29, 2026
* move FolderManager to node-common module * move FolderManager to node-common module * Multi-directory snapshot support for IoTConsensus receiver * Revert "Multi-directory snapshot support for IoTConsensus receiver" This reverts commit 1fef8e4. * IoTConsensus receiver snapshot multi dirs * fix imports * Add keep same disk when loading snapshot * Use commons i18n for disk messages * Fix multi directory strategy package prefix * Fix IoTConsensus snapshot fragment placement * Use local data dirs for IoTConsensus snapshot receive * Honor folder availability for same disk selection --------- Co-authored-by: luoluoyuyu <zhenyu@apache.org>
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
This PR has:
for an unfamiliar reader.
for code coverage.
Key changed/added classes (or packages if there are too many classes) in this PR