Andrey Mashenkov created IGNITE-15400:
-----------------------------------------
Summary: Bulk Raft command uses Set of BinaryRow
Key: IGNITE-15400
URL: https://issues.apache.org/jira/browse/IGNITE-15400
Project: Ignite
Issue Type: Bug
Reporter: Andrey Mashenkov
InsertAllCommand and UpsertAllCommand uses Set structures for BinaryRow
collection.
BinaryRow object doen't override hashcode/equals methods, so HashSet can't be
used here.
Comparing rows on equality by only their key parts is incorrect in general case.
So, an external Comparator must be used for that purpose.
Let's use List implementation here as an uniqueness task should be resolved
before a Command object creation or even before the Row serialization.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)