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

Geode should handle certain DiskAccessException due to CacheClosedException when creating bucket

    XMLWordPrintableJSON

Details

    Description

      This exception is thrown to the node that tries to create the bucket to prevent it trying to create the bucket to next available server and fail the entry operation.

      org.apache.geode.cache.DiskAccessException: For DiskStore: diskStore: The disk store is closed
              at Remote Member 'rs-FullRegression21837175a0i3large-hydra-client-49(dataStoregemfire2_host1_31566:31566)<ec><v2>:41002' in org.apache.geode.internal.cache.DiskInitFile.writeIFRecord(DiskInitFile.java:1313)
              at Remote Member 'rs-FullRegression21837175a0i3large-hydra-client-49(dataStoregemfire2_host1_31566:31566)<ec><v2>:41002' in org.apache.geode.internal.cache.DiskInitFile.writeIFRecord(DiskInitFile.java:916)
              at Remote Member 'rs-FullRegression21837175a0i3large-hydra-client-49(dataStoregemfire2_host1_31566:31566)<ec><v2>:41002' in org.apache.geode.internal.cache.DiskInitFile.markInitialized(DiskInitFile.java:2158)
              at Remote Member 'rs-FullRegression21837175a0i3large-hydra-client-49(dataStoregemfire2_host1_31566:31566)<ec><v2>:41002' in org.apache.geode.internal.cache.DiskStoreImpl.setInitialized(DiskStoreImpl.java:3057)
              at Remote Member 'rs-FullRegression21837175a0i3large-hydra-client-49(dataStoregemfire2_host1_31566:31566)<ec><v2>:41002' in org.apache.geode.internal.cache.AbstractDiskRegion.setInitialized(AbstractDiskRegion.java:606)
              at Remote Member 'rs-FullRegression21837175a0i3large-hydra-client-49(dataStoregemfire2_host1_31566:31566)<ec><v2>:41002' in org.apache.geode.internal.cache.persistence.PersistenceAdvisorImpl.setOnline(PersistenceAdvisorImpl.java:392)
              at Remote Member 'rs-FullRegression21837175a0i3large-hydra-client-49(dataStoregemfire2_host1_31566:31566)<ec><v2>:41002' in org.apache.geode.internal.cache.BucketPersistenceAdvisor.endBucketCreation(BucketPersistenceAdvisor.java:467)
              at Remote Member 'rs-FullRegression21837175a0i3large-hydra-client-49(dataStoregemfire2_host1_31566:31566)<ec><v2>:41002' in org.apache.geode.internal.cache.PRHARedundancyProvider.endBucketCreationLocally(PRHARedundancyProvider.java:854)
              at Remote Member 'rs-FullRegression21837175a0i3large-hydra-client-49(dataStoregemfire2_host1_31566:31566)<ec><v2>:41002' in org.apache.geode.internal.cache.PRHARedundancyProvider.endBucketCreation(PRHARedundancyProvider.java:813)
              at Remote Member 'rs-FullRegression21837175a0i3large-hydra-client-49(dataStoregemfire2_host1_31566:31566)<ec><v2>:41002' in org.apache.geode.internal.cache.PRHARedundancyProvider.createBucketAtomically(PRHARedundancyProvider.java:701)
              at Remote Member 'rs-FullRegression21837175a0i3large-hydra-client-49(dataStoregemfire2_host1_31566:31566)<ec><v2>:41002' in org.apache.geode.internal.cache.partitioned.CreateBucketMessage.operateOnPartitionedRegion(CreateBucketMessage.java:150)
              at Remote Member 'rs-FullRegression21837175a0i3large-hydra-client-49(dataStoregemfire2_host1_31566:31566)<ec><v2>:41002' in org.apache.geode.internal.cache.partitioned.PartitionMessage.process(PartitionMessage.java:333)
              at Remote Member 'rs-FullRegression21837175a0i3large-hydra-client-49(dataStoregemfire2_host1_31566:31566)<ec><v2>:41002' in org.apache.geode.distributed.internal.DistributionMessage.scheduleAction(DistributionMessage.java:376)
              at Remote Member 'rs-FullRegression21837175a0i3large-hydra-client-49(dataStoregemfire2_host1_31566:31566)<ec><v2>:41002' in org.apache.geode.distributed.internal.DistributionMessage$1.run(DistributionMessage.java:441)
              at Remote Member 'rs-FullRegression21837175a0i3large-hydra-client-49(dataStoregemfire2_host1_31566:31566)<ec><v2>:41002' in java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
              at Remote Member 'rs-FullRegression21837175a0i3large-hydra-client-49(dataStoregemfire2_host1_31566:31566)<ec><v2>:41002' in java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
              at Remote Member 'rs-FullRegression21837175a0i3large-hydra-client-49(dataStoregemfire2_host1_31566:31566)<ec><v2>:41002' in org.apache.geode.distributed.internal.ClusterOperationExecutors.runUntilShutdown(ClusterOperationExecutors.java:444)
              at Remote Member 'rs-FullRegression21837175a0i3large-hydra-client-49(dataStoregemfire2_host1_31566:31566)<ec><v2>:41002' in org.apache.geode.distributed.internal.ClusterOperationExecutors.doWaitingThread(ClusterOperationExecutors.java:413)
              at Remote Member 'rs-FullRegression21837175a0i3large-hydra-client-49(dataStoregemfire2_host1_31566:31566)<ec><v2>:41002' in org.apache.geode.logging.internal.executors.LoggingThreadFactory.lambda$newThread$0(LoggingThreadFactory.java:120)
              at Remote Member 'rs-FullRegression21837175a0i3large-hydra-client-49(dataStoregemfire2_host1_31566:31566)<ec><v2>:41002' in java.lang.Thread.run(Thread.java:829)
              at org.apache.geode.distributed.internal.ReplyException.handleCause(ReplyException.java:86)
              at org.apache.geode.internal.cache.partitioned.CreateBucketMessage$NodeResponse.waitForResponse(CreateBucketMessage.java:363)
              at org.apache.geode.internal.cache.PRHARedundancyProvider.createBucketOnDataStore(PRHARedundancyProvider.java:513)
              at org.apache.geode.internal.cache.PartitionedRegion.createBucket(PartitionedRegion.java:3495)
              at org.apache.geode.internal.cache.PartitionedRegion.virtualPut(PartitionedRegion.java:2236)
              at org.apache.geode.internal.cache.LocalRegion.virtualPut(LocalRegion.java:5596)
              at org.apache.geode.internal.cache.LocalRegionDataView.putEntry(LocalRegionDataView.java:157)
              at org.apache.geode.internal.cache.LocalRegion.basicPut(LocalRegion.java:5053)
              at org.apache.geode.internal.cache.LocalRegion.validatedPut(LocalRegion.java:1649)
              at org.apache.geode.internal.cache.LocalRegion.put(LocalRegion.java:1636)
              at org.apache.geode.internal.cache.AbstractRegion.put(AbstractRegion.java:445)
      

      Attachments

        Activity

          People

            joris.melchior Joris Melchior
            eshu Eric Shu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: