You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2017/07/10 07:08:06 UTC

[jira] [Updated] (IGNITE-2722) Inconsistent "keepBinary" flag propagation for EVT_CACHE_REBALANCE_OBJECT_LOADED event.

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

Vladimir Ozerov updated IGNITE-2722:
------------------------------------
    Fix Version/s:     (was: 2.1)
                   2.2

> Inconsistent "keepBinary" flag propagation for EVT_CACHE_REBALANCE_OBJECT_LOADED event.
> ---------------------------------------------------------------------------------------
>
>                 Key: IGNITE-2722
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2722
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>    Affects Versions: 1.5.0.final
>            Reporter: Vladimir Ozerov
>             Fix For: 2.2
>
>
> I searched through usages of EVT_CACHE_REBALANCE_OBJECT_LOADED event and noticed that we pass different value of "keepBinary" flag in different situations:
> 1) {{GridDhtLockFuture.MiniFuture.onResult}} - false
> 2) {{GridDhtTxPrepareFuture.MiniFuture.onResult}} - false
> 2) {{GridDhtForceKeysFuture.MiniFuture.onResult}} - false
> 4) {{GridDhtPartitionDemander.preloadEntry}} - true
> Looks like with this approach user is not able to use corresponding event listener normally because he will receive both serialized and de-serialized objects.
> As I understand, we must always pass {{true}} here because we do not know whether node has corresponding classes or not.
> Other rebalance events must be reviewed as well.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)