You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (JIRA)" <ji...@apache.org> on 2016/12/01 12:45:58 UTC

[jira] [Updated] (IGNITE-4351) .NET: Use BinaryArrayIdentityResolver by default

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

Pavel Tupitsyn updated IGNITE-4351:
-----------------------------------
    Labels: .NET breaking-api  (was: .NET Breaking-Change)

> .NET: Use BinaryArrayIdentityResolver by default
> ------------------------------------------------
>
>                 Key: IGNITE-4351
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4351
>             Project: Ignite
>          Issue Type: Improvement
>          Components: platforms
>            Reporter: Pavel Tupitsyn
>              Labels: .NET, breaking-api
>             Fix For: 2.0
>
>
> Current legacy behavior calculates hash codes by calling Object.GetHashCode(), but equality comparison is performed by comparing byte arrays in binary form, which is inconsistent and can lead to unexpected behavior with user-defined keys.
> In 2.0 we should replace default behavior with ArrayResolver so that Equals and GetHashCode are consistent.



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