Mirza Aliev created IGNITE-15696:
------------------------------------

             Summary: NullPointerException in StripeEntryHandler
                 Key: IGNITE-15696
                 URL: https://issues.apache.org/jira/browse/IGNITE-15696
             Project: Ignite
          Issue Type: Improvement
            Reporter: Mirza Aliev
             Fix For: 3.0.0-alpha3


Temporary fix https://issues.apache.org/jira/browse/IGNITE-15663 introduced NPE 
in {{org.apache.ignite.raft.jraft.core.FSMCallerImpl#runApplyTask}}, also bug 
with logging has been found 
{{org.apache.ignite.raft.jraft.disruptor.StripedDisruptor.StripeExceptionHandler}},
 exception doesn't been propagated to logger

Solution with NPE is to set true to {{endOfBatch}} field in 
{{com.lmax.disruptor.EventHandler#onEvent}} in 
{{org.apache.ignite.raft.jraft.disruptor.StripedDisruptor.StripeEntryHandler#onEvent}},
 so we don't need to rely on 
{{node.getOptions().getRaftOptions().getApplyBatch()}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to