cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [1/6] cassandra git commit: Fix ComplexColumnData hashCode implementation
Date Tue, 05 Sep 2017 11:01:23 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-3.0 fb92a5262 -> 1e80e3539
  refs/heads/cassandra-3.11 5a09fafea -> 03155b021
  refs/heads/trunk 9717cd67b -> 07c90c436


Fix ComplexColumnData hashCode implementation

patch by Stefan Podkowinski; reviewed by Sylvain Lebresne for CASSANDRA-13263


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/1e80e353
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/1e80e353
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/1e80e353

Branch: refs/heads/cassandra-3.0
Commit: 1e80e35396e701bde97594bd49bb730656e02ce8
Parents: fb92a52
Author: Stefan Podkowinski <stefan.podkowinski@1und1.de>
Authored: Fri Feb 24 12:52:17 2017 +0100
Committer: Stefan Podkowinski <stefan.podkowinski@1und1.de>
Committed: Tue Sep 5 12:48:48 2017 +0200

----------------------------------------------------------------------
 src/java/org/apache/cassandra/db/rows/ComplexColumnData.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/1e80e353/src/java/org/apache/cassandra/db/rows/ComplexColumnData.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/db/rows/ComplexColumnData.java b/src/java/org/apache/cassandra/db/rows/ComplexColumnData.java
index 2a8e843..e768769 100644
--- a/src/java/org/apache/cassandra/db/rows/ComplexColumnData.java
+++ b/src/java/org/apache/cassandra/db/rows/ComplexColumnData.java
@@ -218,7 +218,7 @@ public class ComplexColumnData extends ColumnData implements Iterable<Cell>
     @Override
     public int hashCode()
     {
-        return Objects.hash(column(), complexDeletion(), cells);
+        return Objects.hash(column(), complexDeletion(), BTree.hashCode(cells));
     }
 
     public static Builder builder()


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message