You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2009/08/05 01:46:14 UTC

[jira] Commented: (CASSANDRA-343) SSTable gets removed if index file is missing

    [ https://issues.apache.org/jira/browse/CASSANDRA-343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12739250#action_12739250 ] 

Jonathan Ellis commented on CASSANDRA-343:
------------------------------------------

How are you getting in that state?  The index and bloom filter files are renamed first.  If you're manually deleting index files it's not Cassandra's job to guess what you want it to do.  Otherwise we have a bug.

(In general, if we are in a "can't happen" state then we should leave things the way they are and let a human intervene.  In this case I would fail the startup and let the operator decide whether he wants to delete the sstable or build an index.)

> SSTable gets removed if index file is missing
> ---------------------------------------------
>
>                 Key: CASSANDRA-343
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-343
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.4
>            Reporter: Chris Goffinet
>
> If an SSTable is found but is missing an index, the data file is marked corrupt and deleted. We should fix this, and have index re-generation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.