Description
This error will occur in leader node when use set configuration to add a listener.
java.lang.NullPointerException: n1: Server n3 not found: peers=[n0, n1, n2]
at java.base/java.util.Objects.requireNonNull(Objects.java:334)
at org.apache.ratis.util.PeerProxyMap.getProxy(PeerProxyMap.java:111)
at org.apache.ratis.grpc.server.GrpcLogAppender.getClient(GrpcLogAppender.java:97)
at org.apache.ratis.grpc.server.GrpcLogAppender.appendLog(GrpcLogAppender.java:215)
at org.apache.ratis.grpc.server.GrpcLogAppender.run(GrpcLogAppender.java:149)
at org.apache.ratis.server.leader.LogAppenderDaemon.run(LogAppenderDaemon.java:77)
at java.base/java.lang.Thread.run(Thread.java:833)
Attachments
Issue Links
- links to