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

Avoid over scanning data directories in LogFile.verify()

    XMLWordPrintableJSON

    Details

      Description

      We currently list the data directory for every REMOVE record in the file in LogFile.verify() - this can get very expensive during startup when we call LogTransaction.removeUnfinishedLeftovers(). In LogRecord.getExistingFiles(Set<String> absoluteFilePaths) we also fully parse the file name of the sstables found, here we only need to prefix match.

        Attachments

          Activity

            People

            • Assignee:
              marcuse Marcus Eriksson
              Reporter:
              marcuse Marcus Eriksson
              Authors:
              Marcus Eriksson
              Reviewers:
              David Capwell, Jordan West
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: