Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Geode system requires AEQs to be configured before regions are created. If an AEQ listener is operating on a secondary region, this could cause listener to operate on a region which is not yet created or fully initialized (for region with co-located regions) which could result in missing events or dead-lock scenario between region creation threads (creating regions and its co-located region) creation threadsregions in the listener). This scenario is likely to happen during persistence recovery; when AEQs are created in the start, the recovered AEQ events are dispatched immediately, thus invoking the AEQ listeners.

...

On "AsyncEventQueueFactory" interface -

AsyncEventQueue AsyncEventQueueFactory pauseEventDispatchToListener();  // This causes AEQ to be created with paused state.

On "AsyncEventQueue" interface -

...