[ https://issues.apache.org/jira/browse/CASSANDRA-6380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13827634#comment-13827634 ]
Yuki Morishita commented on CASSANDRA-6380: ------------------------------------------- 'finally' block does close iStream, so I think there isn't a problem in current code. > SSTableReader.loadSummary may leave an open file > ------------------------------------------------ > > Key: CASSANDRA-6380 > URL: https://issues.apache.org/jira/browse/CASSANDRA-6380 > Project: Cassandra > Issue Type: Bug > Reporter: Mikhail Stepura > Assignee: Mikhail Stepura > Priority: Minor > Fix For: 2.0.3 > > Attachments: CASSANDRA-2.0-6380.patch > > > When {{SSTableReader.loadSummary}} catches _IOException_ it tries to delete > {{summariesFile}}, but the {{iStream}} is still open and the file is locked, > so {{FileUtils.deleteWithConfirm}} fails, at least on Windows -- This message was sent by Atlassian JIRA (v6.1#6144)