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

CompactionManager.submitMaximal may leak resources

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.1.3
    • Local/Compaction
    • None
    • Normal

    Description

      Once an AbstractCompactionTask is created it MUST be executed for its resources to be cleaned up, however here a collection of AbstractCompactionTask are constructed; if any of them yield an exception the remainder will not be executed and their resources leaked. Somebody with experience of compaction should decide how best to deal with this: either release the resources manually on an exception or always execute each task.

      Attachments

        Activity

          People

            marcuse Marcus Eriksson
            benedict Benedict Elliott Smith
            Marcus Eriksson
            Benedict Elliott Smith
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: