[
https://issues.apache.org/jira/browse/CASSANDRA-4793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Ellis updated CASSANDRA-4793:
--------------------------------------
Reviewer: jbellis
Affects Version/s: (was: 1.1.5)
1.1.0
Fix Version/s: 1.2.0 beta 2
Labels: commitlog (was: )
committed, thanks!
> 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.0
> Reporter: Fabien Rousseau
> Priority: Minor
> Labels: commitlog
> Fix For: 1.2.0 beta 2
>
> 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