ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Atri Sharma (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (IGNITE-1098) IgniteCache.invoke() throws synchronous exception in async mode.
Date Mon, 06 Jul 2015 15:48:04 GMT

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

Atri Sharma reassigned IGNITE-1098:
-----------------------------------

    Assignee: Atri Sharma

> IgniteCache.invoke() throws synchronous exception in async mode.
> ----------------------------------------------------------------
>
>                 Key: IGNITE-1098
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1098
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>    Affects Versions: 1.1.4
>            Reporter: Vladimir Ozerov
>            Assignee: Atri Sharma
>            Priority: Critical
>             Fix For: sprint-7
>
>
> Steps to reproduce:
> 1) Open class GridCacheAbstractFullApiSelfTest.
> 2) Add the following field:
> {code}
> public static final CacheEntryProcessor<String, Integer, String> ERR_PROCESSOR
=
>     new CacheEntryProcessor<String, Integer, String>() {
>         @Override public String process(MutableEntry<String, Integer> e, Object...
args) {
>             throw new RuntimeException("Failed!");
>         }
>     };
> {code}
> 3) Add the following test:
> {code}
> public void testTransformException() throws Exception {
>     IgniteCache<String, Integer> cache = jcache().withAsync();
>     cache.invoke("key2", ERR_PROCESSOR);
> }
> {code}
> 4) Run this test from GridCacheAtomicMultiNodeFullApiSelfTest - it finishes normally.
> 5) Run the same test from GridCacheAtomicFullApiSelfTest - it fails with exception as
if it was a synchronous call.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message