You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Fabien Rousseau (JIRA)" <ji...@apache.org> on 2012/10/11 17:13:04 UTC

[jira] [Updated] (CASSANDRA-4793) Commitlog files replayed but not in the order of their ids

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

Fabien Rousseau updated CASSANDRA-4793:
---------------------------------------

    Attachment: 4793-potential-patch-for-correctly-ordering-commit-log-fi.patch
    
> Commitlog files replayed but not in the order of their ids
> ----------------------------------------------------------
>
>                 Key: CASSANDRA-4793
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4793
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.1.5
>            Reporter: Fabien Rousseau
>            Priority: Minor
>         Attachments: 4793-potential-patch-for-correctly-ordering-commit-log-fi.patch
>
>
> I noticed that the commitlog files were not replayed in the order of their ids.
> It seems that they are sorted by "last modification date" before being replayed, but this does not corresponds to their ids.
> Moreover, "last modification date" is changed when a file is copied, so, this could also change the order of archived commitlogs.
> Maybe it's safer to sort them using the id in the file name ?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira