Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-7079

NPE Upon Restart When Using Asynchronous Event Distribution & Conflation

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.10.0
    • Component/s: wan
    • Labels:

      Description

      The following combination of features cannot be safely configured when using pure Geode Java API:

      • Replicated Region.
      • Serial Gateway Sender or Serial Asynchronous Event Queue.
      • Serial Gateway Sender / Serial Asynchronous Event Queue is Persistent.
      • Conflation is Enabled for the Serial Gateway Sender / Serial Asynchronous Event Queue.

      The problem is that, after a restart, events left-over in the persistent queue begin processing before their source Region is instantiated, causing a NullPointerExceptions while executing the conflation logic.
      The Region is only required because internally we need its name, but the name itself is already stored within the actual event so it should be safe to replace gsEvent.getRegion().getFullPath() by gsEvent.getRegionToConflate() or gsEvent.getRegionPath().

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jjramos Juan Ramos
                Reporter:
                jjramos Juan Ramos
              • Votes:
                0 Vote for this issue
                Watchers:
                2 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 - 50m
                  50m