You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz Wo Nicholas Sze (JIRA)" <ji...@apache.org> on 2019/05/07 02:07:00 UTC

[jira] [Updated] (RATIS-515) IllegalStateException while updating matchIndex

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

Tsz Wo Nicholas Sze updated RATIS-515:
--------------------------------------
    Attachment: r515_20190506.patch

> IllegalStateException while updating matchIndex
> -----------------------------------------------
>
>                 Key: RATIS-515
>                 URL: https://issues.apache.org/jira/browse/RATIS-515
>             Project: Ratis
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 0.4.0
>            Reporter: Mukul Kumar Singh
>            Assignee: Tsz Wo Nicholas Sze
>            Priority: Critical
>              Labels: MiniOzoneChaosCluster
>         Attachments: miniozonelog.txt, r515_20190506.patch
>
>
> Match index is not updated increasingly as noted in the following stack trace.
> {code}
> java.lang.IllegalStateException: Failed to updateIncreasingly for matchIndex: 393 -> 0
>         at org.apache.ratis.util.Preconditions.assertTrue(Preconditions.java:72)
>         at org.apache.ratis.server.storage.RaftLogIndex.updateIncreasingly(RaftLogIndex.java:60)
>         at org.apache.ratis.server.impl.FollowerInfo.updateMatchIndex(FollowerInfo.java:66)
>         at org.apache.ratis.grpc.server.GrpcLogAppender.onSuccess(GrpcLogAppender.java:309)
>         at org.apache.ratis.grpc.server.GrpcLogAppender$AppendLogResponseHandler.onNextImpl(GrpcLogAppender.java:239)
>         at org.apache.ratis.grpc.server.GrpcLogAppender$AppendLogResponseHandler.onNext(GrpcLogAppender.java:224)
>         at org.apache.ratis.grpc.server.GrpcLogAppender$AppendLogResponseHandler.onNext(GrpcLogAppender.java:206)
>         at org.apache.ratis.thirdparty.io.grpc.stub.ClientCalls$StreamObserverToCallListenerAdapter.onMessage(ClientCalls.java:421)
>         at org.apache.ratis.thirdparty.io.grpc.ForwardingClientCallListener.onMessage(ForwardingClientCallListener.java:33)
>         at org.apache.ratis.thirdparty.io.grpc.ForwardingClientCallListener.onMessage(ForwardingClientCallListener.java:33)
>         at org.apache.ratis.thirdparty.io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1MessagesAvailable.runInContext(ClientCallImpl.java:519)
>         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:123)
>         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)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)