You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Max Schaefer (JIRA)" <ji...@apache.org> on 2016/04/26 13:07:12 UTC
[jira] [Created] (CASSANDRA-11660) Dubious call to remove in
CompactionManager.java
Max Schaefer created CASSANDRA-11660:
----------------------------------------
Summary: Dubious call to remove in CompactionManager.java
Key: CASSANDRA-11660
URL: https://issues.apache.org/jira/browse/CASSANDRA-11660
Project: Cassandra
Issue Type: Bug
Components: Compaction
Reporter: Max Schaefer
I'm surprised by [this|https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/db/compaction/CompactionManager.java#L1382] call to {{Iterator.remove()}} in {{org.apache.cassandra.db.compaction.antiCompactGroup}}: the iterator in question seems to come from [org.apache.cassandra.db.lifecycle.LifecycleTransaction.originals()|https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/db/lifecycle/LifecycleTransaction.java#L419], which returns an unmodifiable set, so I would expect this call to always fail with an {{UnsupportedOperationException}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)