cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefania (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-10112) Apply disk_failure_policy to transaction logs
Date Tue, 18 Aug 2015 00:50:46 GMT


Stefania commented on CASSANDRA-10112:

I think we should stash files when the {{disk_failure_policy}} is {{ignore}}, or we could
add a new policy for this. I'm not sure for the case when we refuse to start though. Perhaps
in this case we should add this functionality to the offline sstable utility tool and let
the operator either clean-up or stash.

> Apply disk_failure_policy to transaction logs
> ---------------------------------------------
>                 Key: CASSANDRA-10112
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Stefania
>            Assignee: Stefania
> Transaction logs were introduced by CASSANDRA-7066 and are read during start-up. In case
of file system errors, such as disk corruption, we currently log a panic error and leave the
sstable files and transaction logs as they are; this is to avoid rolling back a transaction
(i.e. deleting files) by mistake.
> We should instead look at the {{disk_failure_policy}} and refuse to start unless the
failure policy is {{ignore}}. 
> We should also consider stashing files that cannot be read during startup, either transaction
logs or sstables, by moving them to a dedicated sub-folder. 

This message was sent by Atlassian JIRA

View raw message