cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-343) SSTable gets removed if index file is missing
Date Tue, 04 Aug 2009 23:46:14 GMT

    [ 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.


Mime
View raw message