cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Jirsa (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-5791) A nodetool command to validate all sstables in a node
Date Thu, 19 Feb 2015 02:38:12 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-5791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jeff Jirsa updated CASSANDRA-5791:
----------------------------------
    Attachment: cassandra-5791.patch-2

Cleaner patch for 5791

- Requires patch from CASSANDRA-8778 to work (checksums currently incorrect, 8778 fixes checksums)
- Marks invalid sstables as unrepaired
- Implements bin/nodetool verify
- Implements bin/sstableverify
- Changes Digest.sha1 to Digest.adler32
- Fixes calculation of adler32 for compressed files
- Allows for walking all atoms with -e (extended) option flag


> A nodetool command to validate all sstables in a node
> -----------------------------------------------------
>
>                 Key: CASSANDRA-5791
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5791
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>            Reporter: sankalp kohli
>            Assignee: Jeff Jirsa
>            Priority: Minor
>         Attachments: cassandra-5791.patch-2
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message