You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Juan José Ramos Cassella (JIRA)" <ji...@apache.org> on 2019/08/12 19:52:00 UTC

[jira] [Created] (GEODE-7079) NPE Upon Restart When Using Asynchronous Event Distribution & Conflation

Juan José Ramos Cassella created GEODE-7079:
-----------------------------------------------

             Summary: NPE Upon Restart When Using Asynchronous Event Distribution & Conflation
                 Key: GEODE-7079
                 URL: https://issues.apache.org/jira/browse/GEODE-7079
             Project: Geode
          Issue Type: Bug
          Components: wan
            Reporter: Juan José Ramos Cassella


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




--
This message was sent by Atlassian JIRA
(v7.6.14#76016)