You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Anton Vinogradov (JIRA)" <ji...@apache.org> on 2016/11/17 11:56:58 UTC

[jira] [Assigned] (IGNITE-3456) Make sure EntryProcessor is always running on a OWNING partition

     [ https://issues.apache.org/jira/browse/IGNITE-3456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anton Vinogradov reassigned IGNITE-3456:
----------------------------------------

    Assignee: Anton Vinogradov

> Make sure EntryProcessor is always running on a OWNING partition
> ----------------------------------------------------------------
>
>                 Key: IGNITE-3456
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3456
>             Project: Ignite
>          Issue Type: Improvement
>          Components: cache
>            Reporter: Alexey Goncharuk
>            Assignee: Anton Vinogradov
>
> Let's say I need to maintain some sort of an aggregate function over a partition. This aggregate is maintained using an entry processor, and before an update this entry processor queries this local aggregate.
> If an entry processor is applied on a partition with a MOVING state, the state of the local aggregate is not valid because not all data has been preloaded. If entry processor is applied on an OWNING partition, the result is guaranteed to be correct.
> Given that we have implemented late affinity assignment when a new node is assigned primary only when rebalancing is finished, this should be already maintained. We just need to add tests verifying the partition state in EntryProcessor.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)