You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Sergey Uttsel (Jira)" <ji...@apache.org> on 2020/07/06 07:19:00 UTC
[jira] [Assigned] (IGNITE-13217) Partition loss detection is not
working if a dynamic cache is not started on a client.
[ https://issues.apache.org/jira/browse/IGNITE-13217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Uttsel reassigned IGNITE-13217:
--------------------------------------
Assignee: Sergey Uttsel
> Partition loss detection is not working if a dynamic cache is not started on a client.
> --------------------------------------------------------------------------------------
>
> Key: IGNITE-13217
> URL: https://issues.apache.org/jira/browse/IGNITE-13217
> Project: Ignite
> Issue Type: Bug
> Reporter: Sergey Uttsel
> Assignee: Sergey Uttsel
> Priority: Major
>
> Partition loss detection is not working if dynamic cache is not initialized on client.
> WA: get cache proxy on client before data node has left.
> Reproducer:
> {code:java}
> public void test() throws Exception {
> IgniteEx ig = startGrids(2);
> awaitPartitionMapExchange();
> IgniteCache<Object, Object> cache = ig.getOrCreateCache(new CacheConfiguration<>("testtest").setPartitionLossPolicy(PartitionLossPolicy.READ_WRITE_SAFE));
> for (int i = 0; i < 1000; i++)
> cache.put(i, i);
> IgniteEx client = startClientGrid(2);
> stopGrid(1);
> assertFalse(client.cache("testtest").lostPartitions().isEmpty());
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)