[ https://issues.apache.org/jira/browse/CASSANDRA-2468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aaron Morton updated CASSANDRA-2468: ------------------------------------ Attachment: 0001-clean-up-temp-files-after-failed-compaction-v08.patch 0001-cleanup-temp-files-after-compaction-v07.patch Attached patches for 0.7 and 0.8 rely on CASSANDRA-2588 to correctly detect sstables on disk. Added closeAndDeleteQuietly() to SSTableWriter and SSTableWriter.Builder to close open files and delete the SSTable files found on disk. Checks for failures in CompactionManager doCompaction(), doScrub() and doCleanupCompaction() and submitSSTableBuild() Does not check in CompactionManager.submitIndexBuild() because the builder works against memtables and does not use an SSTableWriter. Checks for failures in Memtable.writeSortedContents() > Clean up after failed compaction > -------------------------------- > > Key: CASSANDRA-2468 > URL: https://issues.apache.org/jira/browse/CASSANDRA-2468 > Project: Cassandra > Issue Type: Bug > Components: Core > Reporter: Jonathan Ellis > Assignee: Aaron Morton > Priority: Minor > Fix For: 0.7.6, 0.8.1 > > Attachments: > 0001-clean-up-temp-files-after-failed-compaction-v08.patch, > 0001-cleanup-temp-files-after-compaction-v07.patch > > > (Started in CASSANDRA-2088.) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira