You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Eric Shu (Jira)" <ji...@apache.org> on 2022/03/08 00:41:00 UTC
[jira] [Assigned] (GEODE-10110) When creating index in geode, InternalGemFireException should not be thrown to user if hitting CacheClosedException
[ https://issues.apache.org/jira/browse/GEODE-10110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Shu reassigned GEODE-10110:
--------------------------------
Assignee: Eric Shu
> When creating index in geode, InternalGemFireException should not be thrown to user if hitting CacheClosedException
> -------------------------------------------------------------------------------------------------------------------
>
> Key: GEODE-10110
> URL: https://issues.apache.org/jira/browse/GEODE-10110
> Project: Geode
> Issue Type: Bug
> Components: querying
> Affects Versions: 1.12.0, 1.13.0, 1.14.0, 1.15.0
> Reporter: Eric Shu
> Assignee: Eric Shu
> Priority: Major
> Labels: GeodeOperationAPI
>
> Here is the exception thrown to the user:
> org.apache.geode.InternalGemFireException: unexpected exception on member rs-FullRegression27464262a7i32xlarge-hydra-client-57(gemfire2_host1_13415:13415)<ec><v2>:41003
> at org.apache.geode.distributed.internal.ReplyException.handleCause(ReplyException.java:98)
> at org.apache.geode.internal.cache.partitioned.PartitionMessage$PartitionResponse.waitForCacheException(PartitionMessage.java:852)
> at org.apache.geode.internal.cache.partitioned.IndexCreationMsg$IndexCreationResponse.waitForResult(IndexCreationMsg.java:481)
> at org.apache.geode.internal.cache.PartitionedRegion.createIndex(PartitionedRegion.java:8536)
> at org.apache.geode.internal.cache.PartitionedRegion.createIndex(PartitionedRegion.java:8453)
> at org.apache.geode.cache.query.internal.DefaultQueryService.createIndex(DefaultQueryService.java:245)
> at org.apache.geode.cache.query.internal.DefaultQueryService.createIndex(DefaultQueryService.java:203)
> at org.apache.geode.cache.query.internal.DefaultQueryService.createIndex(DefaultQueryService.java:274)
> at org.apache.geode.cache.query.internal.DefaultQueryService.createIndex(DefaultQueryService.java:197)
> Caused by: Creation of index: statusIndex failed due to: org.apache.geode.cache.CacheClosedException: The cache is closed.
> at org.apache.geode.internal.cache.PartitionedRegion.createIndexes(PartitionedRegion.java:8648)
> at org.apache.geode.internal.cache.partitioned.IndexCreationMsg.operateOnPartitionedRegion(IndexCreationMsg.java:125)
> at org.apache.geode.internal.cache.partitioned.IndexCreationMsg.process(IndexCreationMsg.java:286)
> at org.apache.geode.distributed.internal.DistributionMessage.scheduleAction(DistributionMessage.java:376)
> at org.apache.geode.distributed.internal.DistributionMessage$1.run(DistributionMessage.java:441)
> 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.ClusterOperationExecutors.runUntilShutdown(ClusterOperationExecutors.java:446)
> at org.apache.geode.distributed.internal.ClusterOperationExecutors.doPartitionRegionThread(ClusterOperationExecutors.java:426)
> at org.apache.geode.logging.internal.executors.LoggingThreadFactory.lambda$newThread$0(LoggingThreadFactory.java:120)
> at java.lang.Thread.run(Thread.java:748)
--
This message was sent by Atlassian Jira
(v8.20.1#820001)