geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anthony Baker (JIRA)" <>
Subject [jira] [Closed] (GEODE-2824) FunctionException: No target node found when executing hasNext on Lucene result
Date Sat, 17 Jun 2017 18:04:19 GMT


Anthony Baker closed GEODE-2824.

> FunctionException: No target node found when executing hasNext on Lucene result
> -------------------------------------------------------------------------------
>                 Key: GEODE-2824
>                 URL:
>             Project: Geode
>          Issue Type: Bug
>          Components: lucene
>            Reporter: Jason Huynh
>            Assignee: xiaojian zhou
>             Fix For: 1.2.0
> The stack trace below is thrown during a race condition when a node is closing and calling
hasNext on a Lucene result.
> It looks there was a CacheClosedException, but this execution was unable to find a target
node to retry on.  This execution then threw a FunctionException.
> We have code to unwrap CacheClosedExceptions from function exceptions, however this was
just an ordinary function exception.  The underlying cause is that the cache is closing at
this time.
> We should probably wrap all function exceptions with either a LuceneQueryException or
equivalent as a user would probably not expect a FunctionException when calling Lucene methods.
> The stack trace:
> {noformat}
> at org.apache.geode.internal.cache.PartitionedRegion.executeOnMultipleNodes(
>         at org.apache.geode.internal.cache.PartitionedRegion.executeFunction(
>         at org.apache.geode.internal.cache.execute.PartitionedRegionFunctionExecutor.executeFunction(
>         at org.apache.geode.internal.cache.execute.AbstractExecution.execute(
>         at org.apache.geode.internal.cache.partitioned.PRFunctionStreamingResultCollector.getResult(
>         at org.apache.geode.cache.lucene.internal.PageableLuceneQueryResultsImpl.getValues(
>         at org.apache.geode.cache.lucene.internal.PageableLuceneQueryResultsImpl.getHitEntries(
>         at org.apache.geode.cache.lucene.internal.PageableLuceneQueryResultsImpl.advancePage(
>         at org.apache.geode.cache.lucene.internal.PageableLuceneQueryResultsImpl.hasNext(
> {noformat}

This message was sent by Atlassian JIRA

View raw message