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

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

    Attachment: 
4793-trunk-potential-patch-for-correctly-ordering-commit-log-fi.patch

Sure,

Attached the patch rebased to trunk
                
> 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, 
> 4793-trunk-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

Reply via email to