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

Konstantin Sirotkin commented on IGNITE-13102:
----------------------------------------------

[~zstan], can you review please?

> IgniteCache#isClosed() returns false on server node even if the cache had 
> been closed before.
> ---------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-13102
>                 URL: https://issues.apache.org/jira/browse/IGNITE-13102
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 2.8, 2.8.1
>            Reporter: Sergey Antonov
>            Assignee: Konstantin Sirotkin
>            Priority: Major
>             Fix For: 2.10
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> IgniteCache#isClosed() still returns {{false}} even after 
> {{IgniteCache#close()}}. Only server nodes affect by this problem. 
> Simple reproducer:
> {code:java}
>     @Test
>     public void test() throws Exception {
>         IgniteEx node = startGrid(0);
>         IgniteCache<Object, Object> cache = 
> node.getOrCreateCache(DEFAULT_CACHE_NAME);
>         assertFalse(cache.isClosed());
>         cache.close();
>         // java.lang.AssertionError
>         assertTrue(cache.isClosed());
>     }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to