You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ariel Weisberg (JIRA)" <ji...@apache.org> on 2018/09/06 20:31:00 UTC
[jira] [Created] (CASSANDRA-14700) AbstractReplicaCollection equals
and hash code should throw due to conflict between order
sensitive/insensitive uses
Ariel Weisberg created CASSANDRA-14700:
------------------------------------------
Summary: AbstractReplicaCollection equals and hash code should throw due to conflict between order sensitive/insensitive uses
Key: CASSANDRA-14700
URL: https://issues.apache.org/jira/browse/CASSANDRA-14700
Project: Cassandra
Issue Type: Task
Components: Core
Reporter: Ariel Weisberg
Assignee: Ariel Weisberg
Fix For: 4.0
AbstractReplicaCollection implements equals and hashCode in an order sensitive fashion. It's a bit ambiguous and contextual whether uses of it are actually sensitive to order. Many aren't. It turns out we don't actually use those methods in the database so rather then pick one over the other have it throw UnsupportedOperationException so someone doesn't accidentally get the wrong behavior.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org