You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Carl Yeksigian (JIRA)" <ji...@apache.org> on 2015/12/18 19:29:46 UTC

[jira] [Commented] (CASSANDRA-10902) Skip saved cache directory when checking SSTables at startup

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

Carl Yeksigian commented on CASSANDRA-10902:
--------------------------------------------

Pushed a branch which fixes this; I included the commitlog and hints directories (on 3.0+), even though they don't currently contain any .db files. I pushed [a dtest|https://github.com/carlyeks/cassandra-dtest/tree/10902] that demonstrates the problem.

||2.2||3.0||trunk||
|[branch|https://github.com/carlyeks/cassandra/tree/ticket/10902/2.2]|[branch|https://github.com/carlyeks/cassandra/tree/ticket/10902/3.0]|[branch|https://github.com/carlyeks/cassandra/tree/ticket/10902/trunk]|
|[utest|http://cassci.datastax.com/view/Dev/view/carlyeks/job/carlyeks-ticket-10902-2.2-testall/]|[utest|http://cassci.datastax.com/view/Dev/view/carlyeks/job/carlyeks-ticket-10902-3.0-testall/]|[utest|http://cassci.datastax.com/view/Dev/view/carlyeks/job/carlyeks-ticket-10902-trunk-testall/]|
|[dtest|http://cassci.datastax.com/view/Dev/view/carlyeks/job/carlyeks-ticket-10902-2.2-dtest/]|[dtest|http://cassci.datastax.com/view/Dev/view/carlyeks/job/carlyeks-ticket-10902-3.0-dtest/]|[dtest|http://cassci.datastax.com/view/Dev/view/carlyeks/job/carlyeks-ticket-10902-trunk-dtest/]|

> Skip saved cache directory when checking SSTables at startup
> ------------------------------------------------------------
>
>                 Key: CASSANDRA-10902
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10902
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Configuration
>            Reporter: Carl Yeksigian
>            Assignee: Carl Yeksigian
>
> The SSTable StartupCheck looks for all files which end with "*.db" and compares the version. This causes problems if {{saved_cache_directory}} is a subdirectory of a {{data_file_directories}}. We should make sure that we are not checking any subdirectory where we might be writing *.db files.
> This is the cause of not being able to restart in CASSANDRA-10821.



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