You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by "Barry Oglesby (JIRA)" <ji...@apache.org> on 2017/05/05 22:14:04 UTC
[jira] [Created] (GEODE-2886) The WaitUntilFlushedFunction throws
an IllegalArgumentException instead of an IllegalStateException
Barry Oglesby created GEODE-2886:
------------------------------------
Summary: The WaitUntilFlushedFunction throws an IllegalArgumentException instead of an IllegalStateException
Key: GEODE-2886
URL: https://issues.apache.org/jira/browse/GEODE-2886
Project: Geode
Issue Type: Bug
Components: lucene
Reporter: Barry Oglesby
When the AEQ doesn't exist, the WaitUntilFlushedFunction throws an IllegalArgumentException like:
{noformat}
Caused by: java.lang.IllegalArgumentException: The AEQ does not exist for the index xxx region /yyy
at org.apache.geode.cache.lucene.internal.distributed.WaitUntilFlushedFunction.execute(WaitUntilFlushedFunction.java:89)
at org.apache.geode.internal.cache.execute.AbstractExecution.executeFunctionLocally(AbstractExecution.java:333)
{noformat}
The arguments are actually fine so should it instead throw an IllegalStateException?
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)