You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Yaroslav Molochkov (Jira)" <ji...@apache.org> on 2020/11/30 14:07:01 UTC
[jira] [Updated] (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 ]
Yaroslav Molochkov updated IGNITE-13102:
----------------------------------------
Fix Version/s: 2.9.1
> 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, 2.9.1
>
> Time Spent: 40m
> 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)