ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Kuznetsov (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Deleted] (IGNITE-2626) Binary marshaller: sort fields alphabetically
Date Fri, 17 Feb 2017 08:00:52 GMT

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

Alexey Kuznetsov updated IGNITE-2626:
-------------------------------------
    Comment: was deleted

(was: was implemented in IGNITE-3191. To turn on sorting add configuration property. I will
make sorting turn on by default)

> 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
>            Assignee: Alexey Kuznetsov
>             Fix For: 2.0
>
>
> 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.15#6346)

Mime
View raw message