Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-11660

Dubious call to remove in CompactionManager.java

    XMLWordPrintableJSON

    Details

    • Severity:
      Low

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              marcuse Marcus Eriksson
              Reporter:
              xiemaisi Max Schaefer
              Authors:
              Marcus Eriksson
              Reviewers:
              Paulo Motta
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: