You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Denis Mekhanikov (JIRA)" <ji...@apache.org> on 2017/10/05 14:00:22 UTC
[jira] [Commented] (IGNITE-4881) REPLICATED cache size is wrong
after node left topology.
[ https://issues.apache.org/jira/browse/IGNITE-4881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16192910#comment-16192910 ]
Denis Mekhanikov commented on IGNITE-4881:
------------------------------------------
This behavior is due to late affinity assignment. When node leaves topology, some backup partitions are still not marked as primary. Until then {{cache.size()}} will show summary size of primary partitions, which is less than actual available records.
> REPLICATED cache size is wrong after node left topology.
> --------------------------------------------------------
>
> Key: IGNITE-4881
> URL: https://issues.apache.org/jira/browse/IGNITE-4881
> Project: Ignite
> Issue Type: Bug
> Components: cache
> Affects Versions: 1.7
> Reporter: Andrew Mashenkov
> Fix For: 2.4
>
> Attachments: EvictionPolicyTest.java
>
>
> After one of nodes leave topology, cache.size() returns wrong value until first write attempt.
> PFA repro. Successfully reproduced on 1.7-1.9 and master.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)