You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Mirza Aliev (Jira)" <ji...@apache.org> on 2021/10/06 15:59:00 UTC

[jira] [Created] (IGNITE-15696) NullPointerException in StripeEntryHandler

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)