Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BACKPORT] Fix EP index queries consistency #13892

Merged

Commits on Oct 3, 2018

  1. Fix EP index queries consistency

    EPs equipped with predicates are trying to utilize global indexes to
    narrow down the key set to operate on. This change fixes the following
    problems:
    
    1. There were no migration stamp validations performed to prevent EPs
    from operating on stale index data (original fix and idea by Matko).
    
    2. We were not producing WrongTargetException for out-migrated
    partitions, as a result the caller (InvokeOnPartitions) was not retrying
    EPs on such partitions.
    
    3. Partition scope provided to PartitionIteratingOperation was not
    respected. As a result, operations produced by factories providing
    their own partition sets were running on more partitions than expected.
    By a lucky coincidence all affected factories were producing idempotent
    operations, so that was affecting only the performance.
    
    (cherry-picked from 4014d72)
    
    Fixes: https://github.com/hazelcast/hazelcast-enterprise/issues/2277
    mmedenjak authored and taburet committed Oct 3, 2018
    Copy the full SHA
    1693899 View commit details
    Browse the repository at this point in the history