Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.14.0-SNAPSHOT
-
None
-
2022-11-Cluster
Description
commit:37c2792
Reproduce Step:
1.Compile IoTDB with 37c2792(or anyother master code)
2.Copy a date folder into iotdb
3.Start a 1C1D with default config.
Got an error in log_confignode_error.log like below:(This error does not affect subsequent data operations)
2022-11-16 13:43:25,412 [main] ERROR o.a.i.c.r.RatisConsensus:709 - org.apache.iotdb.consensus.ratis.RatisConsensus@5241cf67 request failed with exception {}
org.apache.iotdb.consensus.exception.RatisRequestFailedException: Ratis request failed
at org.apache.iotdb.consensus.ratis.RatisConsensus.addNewGroupToServer(RatisConsensus.java:353)
at org.apache.iotdb.consensus.ratis.RatisConsensus.createPeer(RatisConsensus.java:338)
at org.apache.iotdb.confignode.manager.ConsensusManager.createPeerForConsensusGroup(ConsensusManager.java:224)
at org.apache.iotdb.confignode.manager.ConsensusManager.setConsensusLayer(ConsensusManager.java:187)
at org.apache.iotdb.confignode.manager.ConsensusManager.<init>(ConsensusManager.java:72)
at org.apache.iotdb.confignode.manager.ConfigManager.initConsensusManager(ConfigManager.java:239)
at org.apache.iotdb.confignode.service.ConfigNode.active(ConfigNode.java:97)
at org.apache.iotdb.confignode.service.ConfigNodeCommandLine.run(ConfigNodeCommandLine.java:80)
at org.apache.iotdb.commons.ServerCommandLine.doMain(ServerCommandLine.java:58)
at org.apache.iotdb.confignode.service.ConfigNode.main(ConfigNode.java:79)
Caused by: org.apache.ratis.protocol.exceptions.AlreadyExistsException: 0: Failed to add group-000000000000:[0|rpc:127.0.0.1:22278|admin:|client:|dataStream:|priority:0|startupRole:FOLLOWER] since the group already exists in the map.
at org.apache.ratis.server.impl.RaftServerProxy$ImplMap.addNew(RaftServerProxy.java:90)
at org.apache.ratis.server.impl.RaftServerProxy.groupAddAsync(RaftServerProxy.java:491)
at org.apache.ratis.server.impl.RaftServerProxy.groupManagementAsync(RaftServerProxy.java:475)
at org.apache.ratis.grpc.server.GrpcAdminProtocolService.lambda$groupManagement$0(GrpcAdminProtocolService.java:47)
at org.apache.ratis.grpc.GrpcUtil.asyncCall(GrpcUtil.java:164)
at org.apache.ratis.grpc.server.GrpcAdminProtocolService.groupManagement(GrpcAdminProtocolService.java:47)
at org.apache.ratis.proto.grpc.AdminProtocolServiceGrpc$MethodHandlers.invoke(AdminProtocolServiceGrpc.java:651)
at org.apache.ratis.thirdparty.io.grpc.stub.ServerCalls$UnaryServerCallHandler$UnaryServerCallListener.onHalfClose(ServerCalls.java:182)
at org.apache.ratis.thirdparty.io.grpc.PartialForwardingServerCallListener.onHalfClose(PartialForwardingServerCallListener.java:35)
at org.apache.ratis.thirdparty.io.grpc.ForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:23)
at org.apache.ratis.thirdparty.io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.halfClosed(ServerCallImpl.java:354)
at org.apache.ratis.thirdparty.io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1HalfClosed.runInContext(ServerImpl.java:866)
at org.apache.ratis.thirdparty.io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
at org.apache.ratis.thirdparty.io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:133)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Attachments
Attachments
Issue Links
- links to