ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexand Polyakov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-8991) Failed server node if predicate in scan query throw AssertionError
Date Thu, 12 Jul 2018 06:54:00 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-8991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexand Polyakov updated IGNITE-8991:
-------------------------------------
    Description: 
Reproducer [attach|^RunFD7747.java] ,

server nodes react by stopping at Error when scan query
{code}
org/apache/ignite/internal/processors/cache/query/GridCacheQueryManager.java:1335
if (e instanceof Error)
    throw (Error)e;
{code}

 
execute query, kill server node
{code}
cache.query(new ScanQuery<>(new IgniteBiPredicate() {
@Override public boolean apply(Object key, Object value) {
throw new AssertionError("It's not Exception, it's worse.");
}
}));
{code}

> Failed server node if predicate in scan query throw AssertionError
> ------------------------------------------------------------------
>
>                 Key: IGNITE-8991
>                 URL: https://issues.apache.org/jira/browse/IGNITE-8991
>             Project: Ignite
>          Issue Type: Improvement
>          Components: cache
>    Affects Versions: 2.5
>            Reporter: Alexand Polyakov
>            Priority: Major
>         Attachments: RunFD7747.java
>
>
> Reproducer [attach|^RunFD7747.java] ,
> server nodes react by stopping at Error when scan query
> {code}
> org/apache/ignite/internal/processors/cache/query/GridCacheQueryManager.java:1335
> if (e instanceof Error)
>     throw (Error)e;
> {code}
>  
> execute query, kill server node
> {code}
> cache.query(new ScanQuery<>(new IgniteBiPredicate() {
> @Override public boolean apply(Object key, Object value) {
> throw new AssertionError("It's not Exception, it's worse.");
> }
> }));
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message