Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-3456

Make sure EntryProcessor is always running on a OWNING partition

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • cache
    • 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

          Activity

            People

              Unassigned Unassigned
              agoncharuk Alexey Goncharuk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: