You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by "Jason Huynh (JIRA)" <ji...@apache.org> on 2017/05/03 23:30:04 UTC
[jira] [Assigned] (GEODE-2825) Lucene query may stackoverflow if
enough function execution retries are executed
[ https://issues.apache.org/jira/browse/GEODE-2825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Huynh reassigned GEODE-2825:
----------------------------------
Assignee: Jason Huynh
> Lucene query may stackoverflow if enough function execution retries are executed
> --------------------------------------------------------------------------------
>
> Key: GEODE-2825
> URL: https://issues.apache.org/jira/browse/GEODE-2825
> Project: Geode
> Issue Type: Bug
> Components: lucene
> Reporter: Jason Huynh
> Assignee: Jason Huynh
> Fix For: 1.2.0
>
>
> It is possible that a LuceneQueryFunction fails to obtain the lucene index, this will cause a retry. If this occurs enough, a stack overflow will occur based on the way the function execution code is currently written.
> Instead we can detect if the index has been defined, if so, wait until the index is created. This will cause the query to block/wait until the index is ready. It is possible to get stuck in a loop like this, but this scenario should only occur when an index is being created but has yet to complete.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)