[IOTDB-2559][IOTDB-1840][IOTDB-2215][IOTDB-2216] Persistent Schema Management#4732
Merged
qiaojialin merged 322 commits intoapache:masterfrom Apr 11, 2022
Merged
[IOTDB-2559][IOTDB-1840][IOTDB-2215][IOTDB-2216] Persistent Schema Management#4732qiaojialin merged 322 commits intoapache:masterfrom
qiaojialin merged 322 commits intoapache:masterfrom
Conversation
…ent_schema � Conflicts: � docs/SystemDesign/SchemaManager/SchemaManager.md � docs/zh/SystemDesign/SchemaManager/SchemaManager.md � server/src/assembly/resources/conf/iotdb-engine.properties � server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java � server/src/main/java/org/apache/iotdb/db/metadata/MManager.java � server/src/main/java/org/apache/iotdb/db/metadata/mnode/InternalMNode.java
…est to be finished.
…into pst_schema
# Conflicts: # server/src/assembly/resources/conf/iotdb-engine.properties
…into persistent_schema
# Conflicts: # service-rpc/src/main/java/org/apache/iotdb/rpc/TSStatusCode.java
…into persistent_schema
qiaojialin
approved these changes
Apr 11, 2022
xinzhongtianxia
pushed a commit
to xinzhongtianxia/iotdb
that referenced
this pull request
Apr 11, 2022
…er_meta * remotes/upstream/master: [IOTDB-2687] Base partition policy of data (apache#5464) [IOTDB-2868] Construct ExchangeOperator in LocalExecutionPlanner (apache#5466) implement serialize and deserialize of SchemaTree (apache#5474) [IOTDB-2559][IOTDB-1840][IOTDB-2215][IOTDB-2216] Persistent Schema Management (apache#4732) [IOTDB-2876] Definition of common thrift struct (apache#5471) # Conflicts: # server/src/main/java/org/apache/iotdb/db/mpp/common/DataRegion.java # server/src/main/java/org/apache/iotdb/db/mpp/sql/planner/LogicalPlanner.java # server/src/test/java/org/apache/iotdb/db/mpp/sql/plan/DistributionPlannerTest.java
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
Docs
All related docs are in the shared folder linked by the following url.
https://y8dp9fjm8f.feishu.cn/drive/folder/fldcnoxcC1ZU9Ux43DCfImzXYqg?from=from_copylink
Implement MTree Cache Framework
childrenmanagement in MNode and implement MNodeContainerImplement SchemaFile
Currently, we have not ensured the consistency and reliance of schemafile when encountering unexpected abort. It could be understand as we extend the workspace of metadata from memory to disk. Now we still recover SchemaRegion based on redoing mlog.
New config parameters
Future work
implement SchemaRegion recover based on schemafile