[
https://issues.apache.org/jira/browse/IGNITE-3406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15455657#comment-15455657
]
ASF GitHub Bot commented on IGNITE-3406:
----------------------------------------
GitHub user dkarachentsev opened a pull request:
https://github.com/apache/ignite/pull/1022
IGNITE-3406 - Interceptor and continuous query can get incorrect old …
…value during rebalancing
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gridgain/apache-ignite ignite-3406-1
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/1022.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1022
----
----
> Interceptor and continuous query can get incorrect old value during
> rebalancing
> -------------------------------------------------------------------------------
>
> Key: IGNITE-3406
> URL: https://issues.apache.org/jira/browse/IGNITE-3406
> Project: Ignite
> Issue Type: Bug
> Components: cache
> Affects Versions: 1.7
> Reporter: Valentin Kulichenko
> Assignee: Dmitry Karachentsev
> Fix For: 1.8
>
>
> During the rebalancing the old value passed to interceptor or continuous
> query can't be wrong due to scenarios described below.
> Scenario 1.
> # New node joins.
> # Update request arrives to the new node before the entry for the same key is
> rebalanced to this node.
> # Listeners are notified with {{null}} old value.
> In this case we should use {{GridDhtForceKeysRequest}} to get the old value.
> Scenario 2.
> # Entry is updated on primary node.
> # New backup node joins and the entry with already updated value is
> rebalanced from the primary node.
> # Update request arrives to this new backup node.
> # Listeners are notified with the old value which is the same as new value.
> In this case we should send the old value with the update request in case
> there is ongoing rebalancing and cache has interceptor configured or
> continuous queries registered.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)