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

Audit acquire/release SSTable references

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Normal
    • Resolution: Unresolved
    • None
    • Legacy/Core
    • None

    Description

      There are instances where SSTable references are not guaranteed to be released (e.g. CompactionTask.runWith) because there is no try/finally around the reference acquire/release. We should audit all places where SSTable references are acquired and wrap them appropriately. Leaked references cause junk files to build up on disk and on a restart can lead to data resurrection.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rlow Richard Low
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: