cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Eriksson (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-11660) Dubious call to remove in
Date Tue, 26 Apr 2016 11:26:12 GMT


Marcus Eriksson commented on CASSANDRA-11660:

Did you see the exception or did you find it by code inspection?

We should probably remove that entire block of code, iirc it was a workaround before we had
proper life cycle handling of sstables

> Dubious call to remove in
> ------------------------------------------------
>                 Key: CASSANDRA-11660
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Compaction
>            Reporter: Max Schaefer
> I'm surprised by [this|]
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()|],
which returns an unmodifiable set, so I would expect this call to always fail with an {{UnsupportedOperationException}}.

This message was sent by Atlassian JIRA

View raw message