Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-15696

NullPointerException in StripeEntryHandler

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 3.0.0-alpha3
    • None

    Description

      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()

      Attachments

        Issue Links

          Activity

            People

              maliev Mirza Aliev
              maliev Mirza Aliev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h