geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-2886) The WaitUntilFlushedFunction throws an IllegalArgumentException instead of an IllegalStateException
Date Thu, 17 Aug 2017 10:29:02 GMT

    [ https://issues.apache.org/jira/browse/GEODE-2886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16130215#comment-16130215
] 

ASF subversion and git services commented on GEODE-2886:
--------------------------------------------------------

Commit a1c3fc7660af757e0efbb2fe4f9911e4c81dbffc in geode's branch refs/heads/develop from
[~abarve]
[ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=a1c3fc7 ]

GEODE-2886:Logged the IllegalStateException inside
WaitUntilFlushedFunction and returned the result as false.


> 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
>            Assignee: Amey Barve
>
> 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.4.14#64029)

Mime
View raw message