Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
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.
Attachments
Issue Links
- Is contained by
-
IGNITE-4547 Apache Ignite 2.0 quick and needed tasks
- Resolved
- relates to
-
IGNITE-4558 Use BinaryArrayIdentityResolver by default
- Resolved
-
IGNITE-3496 .NET: Identify 2.0 API changes
- Closed
- links to