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 2016/03/25 13:40:25 UTC

[jira] [Updated] (IGNITE-2626) Binary marshaller: sort fields alphabetically

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

Vladimir Ozerov updated IGNITE-2626:
------------------------------------
    Fix Version/s:     (was: 1.6)
                   1.7

> Binary marshaller: sort fields alphabetically
> ---------------------------------------------
>
>                 Key: IGNITE-2626
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2626
>             Project: Ignite
>          Issue Type: Improvement
>          Components: cache, platforms
>    Affects Versions: 1.1.4
>            Reporter: Pavel Tupitsyn
>             Fix For: 1.7
>
>
> Currently we write object fields in the order they come from reflection.
> 1) There is no guarantee that this order is consistent across multiple calls
> 2) Platforms may have corresponding objects with different field order
> => There are situations when write and read field order is different, which hurts performance.
> Sorting fields alphabetically in Java and platforms will ensure the same ordering.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)