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

SSTableReader.loadSummary may leave an open file

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Fix Version/s: 2.0.3
    • Component/s: None
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              mishail Mikhail Stepura
              Reporter:
              mishail Mikhail Stepura
              Reviewer:
              Jonathan Ellis
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: