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

Release off heap entry during gii if Region has been destroyed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0-incubating
    • 1.8.0
    • offheap

    Description

      A RegionDestroyedException can occur at the following stack trace

      at org.apache.geode.internal.cache.DiskStoreImpl.acquireReadLock(DiskStoreImpl.java:1170)
      at org.apache.geode.internal.cache.DiskRegion.acquireReadLock(DiskRegion.java:649)
      at org.apache.geode.internal.cache.entries.DiskEntry$Helper.update(DiskEntry.java:856)
      at org.apache.geode.internal.cache.entries.AbstractDiskRegionEntry.setValue(AbstractDiskRegionEntry.java:38)
      at org.apache.geode.internal.cache.entries.AbstractDiskRegionEntry.setValue(AbstractDiskRegionEntry.java:32)
      at org.apache.geode.internal.cache.entries.AbstractRegionEntry.initialImageInit(AbstractRegionEntry.java:747)
      at org.apache.geode.internal.cache.AbstractRegionMap.initialImagePut(AbstractRegionMap.java:949)
      at org.apache.geode.internal.cache.InitialImageOperation.processChunk(InitialImageOperation.java:978)
      at org.apache.geode.internal.cache.InitialImageOperation$ImageProcessor.process(InitialImageOperation.java:1308)
      at org.apache.geode.distributed.internal.ReplyMessage.process(ReplyMessage.java:209)
      at org.apache.geode.internal.cache.InitialImageOperation$ImageReplyMessage.process(InitialImageOperation.java:2796)
      at org.apache.geode.distributed.internal.ReplyMessage.dmProcess(ReplyMessage.java:193)
      at org.apache.geode.distributed.internal.ReplyMessage.process(ReplyMessage.java:186)
      at org.apache.geode.distributed.internal.DistributionMessage.scheduleAction(DistributionMessage.java:369)
      at org.apache.geode.distributed.internal.DistributionMessage$1.run(DistributionMessage.java:435)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at org.apache.geode.distributed.internal.ClusterDistributionManager.runUntilShutdown(ClusterDistributionManager.java:1136)
      at org.apache.geode.distributed.internal.ClusterDistributionManager.access$000(ClusterDistributionManager.java:112)
      at org.apache.geode.distributed.internal.ClusterDistributionManager$5$1.run(ClusterDistributionManager.java:849)
      at java.lang.Thread.run(Thread.java:748)

      This ends up with an off heap reference, although the region is no longer there.

       

      Attachments

        Issue Links

          Activity

            People

              jasonhuynh Jason Huynh
              jasonhuynh Jason Huynh
              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 - 1h 20m
                  1h 20m