You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "FengQingxin (Jira)" <ji...@apache.org> on 2022/06/21 09:51:00 UTC

[jira] [Reopened] (IOTDB-3255) Avoid double-writing of the write ahead log for metadata under RatisConsensus

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

FengQingxin reopened IOTDB-3255:
--------------------------------

现在看重启还是会无法写入数据:

IoTDB> insert into root.sg.d(time,s1,s2,s3) values(2,1,2,3);
Msg: 500: [INTERNAL_SERVER_ERROR(500)] Exception occurred: "insert into root.sg.d(time,s1,s2,s3) values(2,1,2,3)". executeStatement failed. error code: TSStatus(code:411, message:Fragment cannot be dispatched, redirectNode:TEndPoint(ip:172.20.70.22, port:6667))

> Avoid double-writing of the write ahead log for metadata under RatisConsensus
> -----------------------------------------------------------------------------
>
>                 Key: IOTDB-3255
>                 URL: https://issues.apache.org/jira/browse/IOTDB-3255
>             Project: Apache IoTDB
>          Issue Type: Improvement
>          Components: Core/Cluster
>    Affects Versions: 0.14.0-SNAPSHOT
>            Reporter: FengQingxin
>            Assignee: Yukun Zhou
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: image-2022-05-23-07-17-52-921.png
>
>
> Reprodece step:
> 1.set up a cluster with 3C3D ;
> 2.using below sql to test it:
> 3.stop a datanode
> 4.start the datanode again,then we got below error in log 
> 2022-05-23 07:17:24,419 [172.20.70.24-40010@group-000200000000-StateMachineUpdater] ERROR o.a.i.d.m.v.SchemaExecutionVisitor:59 - IoTDB: MetaData error:
> org.apache.iotdb.db.exception.metadata.PathAlreadyExistException: Path [root.sg.d.s2] already exist
> !image-2022-05-23-07-17-52-921.png!
>  
> Expect: there is no error msg



--
This message was sent by Atlassian Jira
(v8.20.7#820007)