You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Blake Eggleston (JIRA)" <ji...@apache.org> on 2017/09/28 22:34:00 UTC

[jira] [Updated] (CASSANDRA-13918) Header only commit logs should be filtered before recovery

     [ https://issues.apache.org/jira/browse/CASSANDRA-13918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Blake Eggleston updated CASSANDRA-13918:
----------------------------------------
    Status: Patch Available  (was: Open)

|[3.0|https://github.com/bdeggleston/cassandra/tree/13918-3.0]|[utest|https://circleci.com/gh/bdeggleston/cassandra/127]|[dtest|https://builds.apache.org/view/A-D/view/Cassandra/job/Cassandra-devbranch-dtest/342/]|
|[3.11|https://github.com/bdeggleston/cassandra/tree/13918-3.11]|[utest|https://circleci.com/gh/bdeggleston/cassandra/126]|[dtest|https://builds.apache.org/view/A-D/view/Cassandra/job/Cassandra-devbranch-dtest/343/]|
|[trunk|https://github.com/bdeggleston/cassandra/tree/13918-trunk]|[utest|https://circleci.com/gh/bdeggleston/cassandra/128]|[dtest|https://builds.apache.org/view/A-D/view/Cassandra/job/Cassandra-devbranch-dtest/344/]|

> Header only commit logs should be filtered before recovery
> ----------------------------------------------------------
>
>                 Key: CASSANDRA-13918
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13918
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Blake Eggleston
>            Assignee: Blake Eggleston
>             Fix For: 3.0.15, 4.0, 3.11.x
>
>
> Commit log recovery will tolerate commit log truncation in the most recent log file found on disk, but will abort startup if problems are detected in others. 
> Since we allocate commit log segments before they're used though, it's possible to get into a state where the last commit log file actually written to is not the same file that was most recently allocated, preventing startup for what should otherwise be allowable incomplete final segments.
> Excluding header only files on recovery should prevent this from happening.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org