Description
GrpcLogAppender#createRequest throws IllegalStateException
2019-05-19 13:29:29,879 ERROR impl.LogAppender (LogAppender.java:run(90)) - org.apache.ratis.server.impl.LogAppender$AppenderDaemon@f7cf7bd unexpected exception java.lang.IllegalStateException: GrpcLogAppender(c04faabb-66d4-4cd0-85c2-412d28ae70e1->bd0ce7cf-56a1-44e8-bf84-3cf5d431c1cf): follower's nextIndex = 1 != logStartIndex = 9995 at org.apache.ratis.util.Preconditions.assertTrue(Preconditions.java:63) at org.apache.ratis.server.impl.LogAppender.getPrevious(LogAppender.java:179) at org.apache.ratis.server.impl.LogAppender.createRequest(LogAppender.java:186) at org.apache.ratis.grpc.server.GrpcLogAppender.appendLog(GrpcLogAppender.java:169) at org.apache.ratis.grpc.server.GrpcLogAppender.runAppenderImpl(GrpcLogAppender.java:113) at org.apache.ratis.server.impl.LogAppender$AppenderDaemon.run(LogAppender.java:80) at java.lang.Thread.run(Thread.java:748)