[
https://issues.apache.org/jira/browse/IOTDB-5240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17697805#comment-17697805
]
changxue commented on IOTDB-5240:
---------------------------------
reproduction:
1. append configs into iotdb-common.properties
{code}
config_node_ratis_snapshot_trigger_threshold=40
schema_region_ratis_snapshot_trigger_threshold=40
data_region_ratis_snapshot_trigger_threshold=40
{code}
2. start 3C3D IoTDB cluster
3. create a template named `IoTDB-5240`, 把它绑定到 1000
个各不相同的路径上(root.iotdb5240.*),每个插入一条数据。
4. 查询其中一个device的数据:例如 root.iotdb5240.kc___999
5. restart the cluster with stop and start
6. 再次查询device的数据:root.iotdb5240.kc___999
7. 插入一条数据到 某个device : root.iotdb5240.kc___999
目前重启后查询数据为空(第6步),其他正常。
绑定如果达到5万,最后一个节点stop-datanode 后会导致vm问题或者机器内存问题。
> Missing schemaTemplateId in SchemaRegion snapshot
> -------------------------------------------------
>
> Key: IOTDB-5240
> URL: https://issues.apache.org/jira/browse/IOTDB-5240
> Project: Apache IoTDB
> Issue Type: Bug
> Reporter: Yukun Zhou
> Assignee: Yukun Zhou
> Priority: Major
> Labels: pull-request-available
> Fix For: master branch, 1.0.1
>
> Original Estimate: 16h
> Remaining Estimate: 16h
>
> Currently, the schemaTemplateId of device node is not stored in schemaRegion
> snapshot, which results in failure schema query and fetch after DataNode
> restart.
> Add template id to schema region snapshot
--
This message was sent by Atlassian Jira
(v8.20.10#820010)