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

use regionPath directly instead of getRegion when put event into parallelGatewaySenderQueue

    XMLWordPrintableJSON

    Details

      Description

      ParallelGatewaySenderQueue tried to put but find the value's reference to region is null.
      When the put happens, the data region might be in middle of GII. Need to error handle this case.
      It looks like the member received the reply from SyncWith message for the queue.
      But when the member tried to put the event into its own queue, and find the local data region is not ready. (because it's in middle of GII or recovery)

      The stack trace is:
      at org.apache.geode.internal.cache.CacheFactoryStatics.getAnyInstance(CacheFactoryStatics.java:85)
      at org.apache.geode.cache.CacheFactory.getAnyInstance(CacheFactory.java:396)
      at org.apache.geode.internal.cache.wan.GatewaySenderEventImpl.getRegion(GatewaySenderEventImpl.java:1217)
      at org.apache.geode.internal.cache.wan.parallel.ParallelGatewaySenderQueue.put(ParallelGatewaySenderQueue.java:696)
      at org.apache.geode.internal.cache.wan.parallel.ParallelGatewaySenderEventProcessor.enqueueEvent(ParallelGatewaySenderEventProcessor.java:138)
      at org.apache.geode.internal.cache.wan.parallel.ConcurrentParallelGatewaySenderEventProcessor.enqueueEvent(ConcurrentParallelGatewaySenderEventProcessor.java:354)
      at org.apache.geode.internal.cache.wan.AbstractGatewaySender.putSynchronizationEvent(AbstractGatewaySender.java:1507)
      at org.apache.geode.internal.cache.wan.GatewaySenderQueueEntrySynchronizationOperation$GatewaySenderQueueEntrySynchronizationReplyProcessor.putSynchronizationEvents(GatewaySenderQueueEntrySynchronizationOperation.java:162)

        Attachments

          Activity

            People

            • Assignee:
              zhouxj Xiaojian Zhou
              Reporter:
              zhouxj Xiaojian Zhou
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: