Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
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.
Attachments
Issue Links
- depends upon
-
IGNITE-324 Partition exchange: node should be assigned as primary only after preloading is finished
- Closed