ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ozerov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-4558) Use BinaryArrayIdentityResolver by default
Date Wed, 18 Jan 2017 13:28:26 GMT

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

Vladimir Ozerov updated IGNITE-4558:
------------------------------------
    Priority: Critical  (was: Major)

> Use BinaryArrayIdentityResolver by default
> ------------------------------------------
>
>                 Key: IGNITE-4558
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4558
>             Project: Ignite
>          Issue Type: Improvement
>          Components: binary
>            Reporter: Pavel Tupitsyn
>            Priority: Critical
>             Fix For: 2.0
>
>
> Currently if there is no configured {{BinaryTypeConfiguration.IdentityResolver}}, we
call Object.hashCode().
> This is not consistent with DML, and there is a warning:
> {code}
> Binary object's type does not have identity resolver explicitly set, therefore BinaryArrayIdentityResolver
is used to generate hash codes for its instances, and therefore hash code of this binary object
will most likely not match that of its non serialized form. For finer control over identity
of this type, please update your BinaryConfiguration accordingly.
> {code}
> In 2.0 we should use {{BinaryArrayIdentityResolver}} by default.



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

Mime
View raw message