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

[jira] [Assigned] (IOTDB-4484) ratis election All the time.

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

Song Ziyang reassigned IOTDB-4484:
----------------------------------

    Assignee: Song Ziyang

> ratis election All the time.
> ----------------------------
>
>                 Key: IOTDB-4484
>                 URL: https://issues.apache.org/jira/browse/IOTDB-4484
>             Project: Apache IoTDB
>          Issue Type: Bug
>          Components: mpp-cluster
>    Affects Versions: 0.14.0-preview2
>            Reporter: Chao Wang
>            Assignee: Song Ziyang
>            Priority: Major
>
> 2022-09-21 11:46:32,151 | INFO  | [8.5.226.6_22252@group-00010000026C-LeaderElection17574] | 8.5.226.6_22252@group-00010000026C-LeaderElection17574 PRE_VOTE round 0: submit vote requests at term 4 for 45: peers:[8.5.226.7_22252|rpc:8.5.226.7:22252|admin:|client:|dataStream:|priority:0|startupRole:FOLLOWER, 8.5.226.6_22252|rpc:8.5.226.6:22252|admin:|client:|dataStream:|priority:0|startupRole:FOLLOWER, 8.5.155.13_22252|rpc:8.5.155.13:22252|admin:|client:|dataStream:|priority:0|startupRole:FOLLOWER]|listeners:[], old=null | org.apache.ratis.server.impl.LeaderElection (LeaderElection.java:307)
> 2022-09-21 11:46:32,151 | INFO  | [8.5.226.6_22252@group-00010000026C-LeaderElection17574] | raft.server.rpc.first-election.timeout.min = 2s (fallback to raft.server.rpc.timeout.min) | org.apache.ratis.server.RaftServerConfigKeys (ConfUtils.java:53)
> 2022-09-21 11:46:32,152 | INFO  | [8.5.226.6_22252@group-00010000026C-LeaderElection17574] | raft.server.rpc.first-election.timeout.max = 4s (fallback to raft.server.rpc.timeout.max) | org.apache.ratis.server.RaftServerConfigKeys (ConfUtils.java:53)
> 2022-09-21 11:46:32,152 | INFO  | [8.5.226.6_22252@group-00010000026C-LeaderElection17574] | 8.5.226.6_22252@group-00010000026C-LeaderElection17574 got exception when requesting votes: java.util.concurrent.ExecutionException: org.apache.ratis.thirdparty.io.grpc.StatusRuntimeException: UNAVAILABLE: io exception | org.apache.ratis.server.impl.LeaderElection (LogUtils.java:137)
> 2022-09-21 11:46:32,152 | INFO  | [8.5.226.6_22252@group-00010000026C-LeaderElection17574] | 8.5.226.6_22252@group-00010000026C-LeaderElection17574 got exception when requesting votes: java.util.concurrent.ExecutionException: org.apache.ratis.thirdparty.io.grpc.StatusRuntimeException: UNAVAILABLE: io exception | org.apache.ratis.server.impl.LeaderElection (LogUtils.java:137)
> 2022-09-21 11:46:32,152 | INFO  | [8.5.226.6_22252@group-00010000026C-LeaderElection17574] | 8.5.226.6_22252@group-00010000026C-LeaderElection17574: PRE_VOTE REJECTED received 0 response(s) and 2 exception(s): | org.apache.ratis.server.impl.LeaderElection (LeaderElection.java:89)
> 2022-09-21 11:46:32,152 | INFO  | [8.5.226.6_22252@group-00010000026C-LeaderElection17574] |   Exception 0: java.util.concurrent.ExecutionException: org.apache.ratis.thirdparty.io.grpc.StatusRuntimeException: UNAVAILABLE: io exception | org.apache.ratis.server.impl.LeaderElection (LogUtils.java:137)
> 2022-09-21 11:46:32,152 | INFO  | [8.5.226.6_22252@group-00010000026C-LeaderElection17574] |   Exception 1: java.util.concurrent.ExecutionException: org.apache.ratis.thirdparty.io.grpc.StatusRuntimeException: UNAVAILABLE: io exception | org.apache.ratis.server.impl.LeaderElection (LogUtils.java:137)
> 2022-09-21 11:46:32,152 | INFO  | [8.5.226.6_22252@group-00010000026C-LeaderElection17574] | 8.5.226.6_22252@group-00010000026C-LeaderElection17574 PRE_VOTE round 0: result REJECTED | org.apache.ratis.server.impl.LeaderElection (LeaderElection.java:309)
> 2022-09-21 11:46:32,152 | INFO  | [8.5.226.6_22252@group-00010000026C-LeaderElection17574] | 8.5.226.6_22252@group-00010000026C: changes role from CANDIDATE to FOLLOWER at term 4 for REJECTED | org.apache.ratis.server.RaftServer$Division (RaftServerImpl.java:317)
> 2022-09-21 11:46:32,152 | INFO  | [8.5.226.6_22252@group-00010000026C-LeaderElection17574] | 8.5.226.6_22252: shutdown 8.5.226.6_22252@group-00010000026C-LeaderElection17574 | org.apache.ratis.server.impl.RoleInfo (RoleInfo.java:130)
> 2022-09-21 11:46:32,152 | INFO  | [8.5.226.6_22252@group-00010000026C-LeaderElection17574] | 8.5.226.6_22252: start 8.5.226.6_22252@group-00010000026C-FollowerState | org.apache.ratis.server.impl.RoleInfo (RoleInfo.java:139)
> 2022-09-21 11:46:32,152 | INFO  | [8.5.226.6_22252@group-00010000026C-FollowerState] | raft.server.rpc.first-election.timeout.min = 2s (fallback to raft.server.rpc.timeout.min) | org.apache.ratis.server.RaftServerConfigKeys (ConfUtils.java:53)
> 2022-09-21 11:46:32,152 | INFO  | [8.5.226.6_22252@group-00010000026C-FollowerState] | raft.server.rpc.first-election.timeout.max = 4s (fallback to raft.server.rpc.timeout.max) | org.apache.ratis.server.RaftServerConfigKeys (ConfUtils.java:53)
> 2022-09-21 11:46:32,212 | INFO  | [8.5.226.6_22252@group-000100000272-FollowerState] | 8.5.226.6_22252@group-000100000272-FollowerState: change to CANDIDATE, lastRpcElapsedTime:3985436262ns, electionTimeout:3985ms | org.apache.ratis.server.impl.FollowerState (FollowerState.java:143)
> 2022-09-21 11:46:32,212 | INFO  | [8.5.226.6_22252@group-000100000272-FollowerState] | 8.5.226.6_22252: shutdown 8.5.226.6_22252@group-000100000272-FollowerState | org.apache.ratis.server.impl.RoleInfo (RoleInfo.java:110)
> 2022-09-21 11:46:32,212 | INFO  | [8.5.226.6_22252@group-000100000272-FollowerState] | 8.5.226.6_22252@group-000100000272: changes role from  FOLLOWER to CANDIDATE at term 9 for changeToCandidate | org.apache.ratis.server.RaftServer$Division (RaftServerImpl.java:317)
> 2022-09-21 11:46:32,212 | INFO  | [8.5.226.6_22252@group-000100000272-FollowerState] | raft.server.leaderelection.pre-vote = true (default) | org.apache.ratis.server.RaftServerConfigKeys (ConfUtils.java:46)
> 2022-09-21 11:46:32,212 | INFO  | [8.5.226.6_22252@group-000100000272-FollowerState] | 8.5.226.6_22252: start 8.5.226.6_22252@group-000100000272-LeaderElection17575 | org.apache.ratis.server.impl.RoleInfo (RoleInfo.java:139)
> 2022-09-21 11:46:32,212 | INFO  | [8.5.226.6_22252@group-000100000272-LeaderElection17575] | 8.5.226.6_22252@group-000100000272-LeaderElection17575 PRE_VOTE round 0: submit vote requests at term 9 for 45: peers:[8.5.226.7_22252|rpc:8.5.226.7:22252|admin:|client:|dataStream:|priority:0|startupRole:FOLLOWER, 8.5.226.6_22252|rpc:8.5.226.6:22252|admin:|client:|dataStream:|priority:0|startupRole:FOLLOWER, 8.5.155.13_22252|rpc:8.5.155.13:22252|admin:|client:|dataStream:|priority:0|startupRole:FOLLOWER]|listeners:[], old=null | org.apache.ratis.server.impl.LeaderElection (LeaderElection.java:307)
> 2022-09-21 11:46:32,213 | INFO  | [8.5.226.6_22252@group-000100000272-LeaderElection17575] | raft.server.rpc.first-election.timeout.min = 2s (fallback to raft.server.rpc.timeout.min) | org.apache.ratis.server.RaftServerConfigKeys (ConfUtils.java:53)
> 2022-09-21 11:46:32,213 | INFO  | [8.5.226.6_22252@group-000100000272-LeaderElection17575] | raft.server.rpc.first-election.timeout.max = 4s (fallback to raft.server.rpc.timeout.max) | org.apache.ratis.server.RaftServerConfigKeys (ConfUtils.java:53)
> 2022-09-21 11:46:32,213 | INFO  | [8.5.226.6_22252@group-000100000272-LeaderElection17575] | 8.5.226.6_22252@group-000100000272-LeaderElection17575 got exception when requesting votes: java.util.concurrent.ExecutionException: org.apache.ratis.thirdparty.io.grpc.StatusRuntimeException: UNAVAILABLE: io exception | org.apache.ratis.server.impl.LeaderElection (LogUtils.java:137)
> 2022-09-21 11:46:32,213 | INFO  | [8.5.226.6_22252@group-000100000272-LeaderElection17575] | 8.5.226.6_22252@group-000100000272-LeaderElection17575 got exception when requesting votes: java.util.concurrent.ExecutionException: org.apache.ratis.thirdparty.io.grpc.StatusRuntimeException: UNAVAILABLE: io exception | org.apache.ratis.server.impl.LeaderElection (LogUtils.java:137)
> 2022-09-21 11:46:32,213 | INFO  | [8.5.226.6_22252@group-000100000272-LeaderElection17575] | 8.5.226.6_22252@group-000100000272-LeaderElection17575: PRE_VOTE REJECTED received 0 response(s) and 2 exception(s): | org.apache.ratis.server.impl.LeaderElection (LeaderElection.java:89)
> 2022-09-21 11:46:32,213 | INFO  | [8.5.226.6_22252@group-000100000272-LeaderElection17575] |   Exception 0: java.util.concurrent.ExecutionException: org.apache.ratis.thirdparty.io.grpc.StatusRuntimeException: UNAVAILABLE: io exception | org.apache.ratis.server.impl.LeaderElection (LogUtils.java:137)
> 2022-09-21 11:46:32,213 | INFO  | [8.5.226.6_22252@group-000100000272-LeaderElection17575] |   Exception 1: java.util.concurrent.ExecutionException: org.apache.ratis.thirdparty.io.grpc.StatusRuntimeException: UNAVAILABLE: io exception | org.apache.ratis.server.impl.LeaderElection (LogUtils.java:137)
> 2022-09-21 11:46:32,213 | INFO  | [8.5.226.6_22252@group-000100000272-LeaderElection17575] | 8.5.226.6_22252@group-000100000272-LeaderElection17575 PRE_VOTE round 0: result REJECTED | org.apache.ratis.server.impl.LeaderElection (LeaderElection.java:309)
> 2022-09-21 11:46:32,213 | INFO  | [8.5.226.6_22252@group-000100000272-LeaderElection17575] | 8.5.226.6_22252@group-000100000272: changes role from CANDIDATE to FOLLOWER at term 9 for REJECTED | org.apache.ratis.server.RaftServer$Division (RaftServerImpl.java:317)
> 2022-09-21 11:46:32,213 | INFO  | [8.5.226.6_22252@group-000100000272-LeaderElection17575] | 8.5.226.6_22252: shutdown 8.5.226.6_22252@group-000100000272-LeaderElection17575 | org.apache.ratis.server.impl.RoleInfo (RoleInfo.java:130)
> 2022-09-21 11:46:32,213 | INFO  | [8.5.226.6_22252@group-000100000272-LeaderElection17575] | 8.5.226.6_22252: start 8.5.226.6_22252@group-000100000272-FollowerState | org.apache.ratis.server.impl.RoleInfo (RoleInfo.java:139)
> 2022-09-21 11:46:32,214 | INFO  | [8.5.226.6_22252@group-000100000272-FollowerState] | raft.server.rpc.first-election.timeout.min = 2s (fallback to raft.server.rpc.timeout.min) | org.apache.ratis.server.RaftServerConfigKeys (ConfUtils.java:53)
> 2022-09-21 11:46:32,214 | INFO  | [8.5.226.6_22252@group-000100000272-FollowerState] | raft.server.rpc.first-election.timeout.max = 4s (fallback to raft.server.rpc.timeout.max) | org.apache.ratis.server.RaftServerConfigKeys (ConfUtils.java:53)
> 2022-09-21 11:46:32,629 | INFO  | [8.5.226.6_22252-impl-thread2] | Successfully read 121 entries from segment file /srv/BigData/iotdb/iotdbserver/data1/consensus/data_region/47474747-4747-4747-4747-000100000247/current/log_32728-32848 | org.apache.ratis.server.raftlog.segmented.LogSegment (LogSegment.java:173)
> 2022-09-21 11:46:33,004 | INFO  | [8.5.226.6_22252-impl-thread66] | Successfully read 121 entries from segment file /srv/BigData/iotdb/iotdbserver/data1/consensus/data_region/47474747-4747-4747-4747-000100000224/current/log_33431-33551 | org.apache.ratis.server.raftlog.segmented.LogSegment (LogSegment.java:173)
> 2022-09-21 11:46:33,048 | INFO  | [8.5.226.6_22252@group-000100000268-FollowerState] | 8.5.226.6_22252@group-000100000268-FollowerState: change to CANDIDATE, lastRpcElapsedTime:3739429092ns, electionTimeout:3739ms | org.apache.ratis.server.impl.FollowerState (FollowerState.java:143)
> 2022-09-21 11:46:33,048 | INFO  | [8.5.226.6_22252@group-000100000268-FollowerState] | 8.5.226.6_22252: shutdown 8.5.226.6_22252@group-000100000268-FollowerState | org.apache.ratis.server.impl.RoleInfo (RoleInfo.java:110)
> 2022-09-21 11:46:33,048 | INFO  | [8.5.226.6_22252@group-000100000268-FollowerState] | 8.5.226.6_22252@group-000100000268: changes role from  FOLLOWER to CANDIDATE at term 6 for changeToCandidate | org.apache.ratis.server.RaftServer$Division (RaftServerImpl.java:317)
> 2022-09-21 11:46:33,049 | INFO  | [8.5.226.6_22252@group-000100000268-FollowerState] | raft.server.leaderelection.pre-vote = true (default) | org.apache.ratis.server.RaftServerConfigKeys (ConfUtils.java:46)
> 2022-09-21 11:46:33,049 | INFO  | [8.5.226.6_22252@group-000100000268-FollowerState] | 8.5.226.6_22252: start 8.5.226.6_22252@group-000100000268-LeaderElection17576 | org.apache.ratis.server.impl.RoleInfo (RoleInfo.java:139)



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