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

Verify expected SSTable components are present at startup

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 4.0-beta2
    • Component/s: Local/SSTable
    • Labels:
      None

      Description

      When Cassandra batch opens all sstables at startup, it should check that all components listed in the TOC.txt are available. Compression is optional, so there may not be a Compression.db component for all sstables, but if there should be and it's missing we continue to load the sstable. The sstable is unreadable without the compression metadata though, but we won't know this until it's touched by a query or compaction.

      To reliably use TOC.txt for verification, it needs CASSANDRA-10709

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                yifanc Yifan Cai
                Reporter:
                yifanc Yifan Cai
                Authors:
                Yifan Cai
                Reviewers:
                Brandon Williams, David Capwell
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m