[jira] [Created] (IGNITE-3191) BinaryObjectBuilder: binary schema id depends on the order of fields addition

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-3191) BinaryObjectBuilder: binary schema id depends on the order of fields addition

Anton Vinogradov (Jira)
Denis Magda created IGNITE-3191:
-----------------------------------

             Summary: BinaryObjectBuilder: binary schema id depends on the order of fields addition
                 Key: IGNITE-3191
                 URL: https://issues.apache.org/jira/browse/IGNITE-3191
             Project: Ignite
          Issue Type: Bug
            Reporter: Denis Magda
             Fix For: 1.7


Presently if an object is created using BinaryObjectBuilder then several BinarySchemes can be generated for the same set of fields in case when fields are added in a different order.

This happens because {{LinkedHashMap}} is used underneath. However we should rely on order-free structure like {{TreeMap}}.




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