You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Quan Siyi (Jira)" <ji...@apache.org> on 2022/07/01 16:30:00 UTC

[jira] [Commented] (IOTDB-3524) [cluster]The operations recorded on the logs of the three nodes are inconsistent

    [ https://issues.apache.org/jira/browse/IOTDB-3524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17561531#comment-17561531 ] 

Quan Siyi commented on IOTDB-3524:
----------------------------------

This is a 3C3D cluster with 3 replica using ratis consensus protocol. In order to reduce the number of rpc, the client in benchmark will cache the leader of the ratis group, and forward the inserting request directly to the leader. When browsing the logs in all the three nodes, I find the 23 and 24 have become ratis leader for a while in turn. So the node 23 and 24 have to parse, analyse, plan the inserting request, and that's why 23 and 24 have more logs then 22.

> [cluster]The operations recorded on the logs of the three nodes are inconsistent
> --------------------------------------------------------------------------------
>
>                 Key: IOTDB-3524
>                 URL: https://issues.apache.org/jira/browse/IOTDB-3524
>             Project: Apache IoTDB
>          Issue Type: Bug
>          Components: Core/Cluster
>    Affects Versions: 0.14.0-SNAPSHOT
>            Reporter: FengQingxin
>            Assignee: Quan Siyi
>            Priority: Major
>             Fix For: 0.14.0-SNAPSHOT
>
>         Attachments: 20220617_170909.mp4, image-2022-06-17-17-15-23-588.png, log_22.tar.gz, log_23.tar.gz, log_24.tar.gz
>
>
> commit a920737417330cb4b9fdb3d146af1c952057858b
> Author: Chen YZ <43...@users.noreply.github.com>
> Date:   Thu Jun 16 23:01:49 2022 +0800
>     IOTDB-3515 load empty TsFile error message (#6307)
>  
> Reproduce:
> 1.Setup a cluster with 3C3D
> 2.Start 3 BMs to insert data
> BM    -----  》  IoTDB Node
> 172.20.70.7    -----  》 172.20.70.22
> 172.20.70.8    -----  》 172.20.70.23
> 172.20.70.9    -----  》 172.20.70.24
> The operations recorded on the logs of the three nodes are inconsistent.
> PS: It looks like 1 node(22) forward the insert operation to the other two. 
> Refer to below picture and video
> !image-2022-06-17-17-15-23-588.png!



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