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

A nodetool command to validate all sstables in a node

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 2.2.0 beta 1
    • Component/s: None
    • Labels:
      None

      Description

      CUrrently there is no nodetool command to validate all sstables on disk. The only way to do this is to run a repair and see if it succeeds. But we cannot repair the system keyspace.
      Also we can run upgrade sstables but that re writes all the sstables.
      This command should check the hash of all sstables and return whether all data is readable all not. This should NOT care about consistency.
      The compressed sstables do not have hash so not sure how it will work there.

        Attachments

        1. cassandra-5791-20150319.diff
          57 kB
          Jeff Jirsa
        2. cassandra-5791-patch-3.diff
          54 kB
          Jeff Jirsa
        3. cassandra-5791.patch-2
          40 kB
          Jeff Jirsa

          Issue Links

            Activity

              People

              • Assignee:
                jjirsa Jeff Jirsa
                Reporter:
                kohlisankalp Sankalp Kohli
                Authors:
                Jeff Jirsa
                Reviewers:
                Branimir Lambov
                Tester:
                Shawn Kumar
              • Votes:
                0 Vote for this issue
                Watchers:
                16 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: