[ 
https://issues.apache.org/jira/browse/IOTDB-3931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

任宇华 reassigned IOTDB-3931:
--------------------------

    Assignee: 任宇华

> Region information is not synchronized between datanode and confignode
> ----------------------------------------------------------------------
>
>                 Key: IOTDB-3931
>                 URL: https://issues.apache.org/jira/browse/IOTDB-3931
>             Project: Apache IoTDB
>          Issue Type: Task
>          Components: Core/Cluster
>            Reporter: 任宇华
>            Assignee: 任宇华
>            Priority: Major
>
> 模拟创建一条时间序列,在confignode向datanode发送的过程中,createRegions失败,但是此时confignode中保存了该序列的region信息,导致后续的查询和写入数据会无法进行,并出现以下错误:
> IoTDB> show regions
> +--------+------------+------+-------------+------------+----------+----------+---------+----+
> |RegionId|Type|Status|storage group|Series Slots|Time 
> Slots|DataNodeId|Host|Port| |
> +--------+------------+------+-------------+------------+----------+----------+---------+----+
> |14|DataRegion|Up|root.sg|1|1|1|127.0.0.1|6667|
>  | 15|SchemaRegion| Up| root.sg| 2| 0| 3|127.0.0.1|6671|
> |15|SchemaRegion|Up|root.ln|1|0|2|127.0.0.1|6669| |
> +--------+------------+------+-------------+------------+----------+----------+---------+----+
> IoTDB> insert into root.sg.wf01.wt01(timestamp,t2) 
> values(2017-11-07T23:54:00.000+08:00,24.39)
> Msg: 500: Unexpected errors: cannot fetch schema, status is: 400, msg is: 
> Execute FragmentInstance failed: The consensus group SchemaRegion[15] doesn't 
> exist
> IoTDB> count timeseries
> Msg: 400: Execute FragmentInstance failed: The consensus group 
> SchemaRegion[15] doesn't exist
>  
> 1c3d1副本,挂掉datanode1,插入时序测试:
> IoTDB> count timeseries
> Msg: 400: Execute FragmentInstance failed: The consensus group 
> SchemaRegion[41] doesn't exist
>  
> 1c3d3副本,挂掉datanode1测试:
> IoTDB> create timeseries root.ln.wf02.wt02(t2) with datatype=FLOAT, 
> encoding=RLE, compression=SNAPPY tags(tag1=v1, tag2=v2) attributes(attr1=v1, 
> attr2=v2)
> Msg: The statement is executed successfully.
> count timeseries
> +-----------------+
> |count(timeseries)| 
> +-----------------+
> |                         1|
> +-----------------+
> Total line number = 1 It costs 0.052s



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to