You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Konstantin Sirotkin (Jira)" <ji...@apache.org> on 2020/07/24 14:52:00 UTC
[jira] [Assigned] (IGNITE-13102) IgniteCache#isClosed() returns
false on server node even if the cache had been closed before.
[ https://issues.apache.org/jira/browse/IGNITE-13102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konstantin Sirotkin reassigned IGNITE-13102:
--------------------------------------------
Assignee: Konstantin Sirotkin
> 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
>
>
> 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)