cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ravi Prasad (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6913) Compaction of system keyspaces during startup can cause early loading of non-system keyspaces
Date Fri, 04 Apr 2014 18:16:24 GMT

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

Ravi Prasad commented on CASSANDRA-6913:
----------------------------------------

we were noticing occasional FilenotFoundException due to compaction leftovers at startup on
restart, after upgrading to cassandra-2.0 (CASSANDRA-5151). I think this fixes that issue.
 
Would it make sense to change the changes.txt to 'Avoid early loading of non-system keyspaces
before compaction-leftovers cleanup at startup' instead of
https://github.com/apache/cassandra/blob/56d84a7c028c0498158efb1a3cadea149ab7c1cd/CHANGES.txt#L2
?

> Compaction of system keyspaces during startup can cause early loading of non-system keyspaces
> ---------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-6913
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6913
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Benedict
>            Assignee: Benedict
>            Priority: Minor
>             Fix For: 2.0.7, 2.1 beta2
>
>         Attachments: 6913.txt
>
>
> This then can result in an inconsistent CFS state, as cleanup of e.g. compaction leftovers
does not get reflected in DataTracker. It happens because StorageService.getLoad() iterates
over and opens all CFS, and this is called by Compaction.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message