You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Stu Hood (JIRA)" <ji...@apache.org> on 2010/02/06 09:16:28 UTC

[jira] Issue Comment Edited: (CASSANDRA-389) SSTable Versioning

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

Stu Hood edited comment on CASSANDRA-389 at 2/6/10 8:16 AM:
------------------------------------------------------------

Rebased for trunk. Since we know that file formats are going to change in 0.7, I'd like to get this in soon, so I don't have to waste any more time rebasing it.

EDIT: Actually, I'm extracting interfaces for #674, so perhaps we should wait until we are ready to merge the new interfaces before we merge this one.

      was (Author: stuhood):
    Rebased for trunk. Since we know that file formats are going to change in 0.7, I'd like to get this in soon, so I don't have to waste any more time rebasing it.
  
> SSTable Versioning
> ------------------
>
>                 Key: CASSANDRA-389
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-389
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Chris Goffinet
>            Assignee: Stu Hood
>            Priority: Minor
>             Fix For: 0.7
>
>         Attachments: 389-v3.patch, 389-v5-1-rebase-v4-for-trunk.diff, 389-v5-1-rebase-v4-for-trunk.diff, 389-v5-1-rebase-v4-for-trunk.diff, 389-v5-2-add-keyspace-to-descriptor.diff, 389-v5-2-add-keyspace-to-descriptor.diff, 389-v5-2-add-keyspace-to-descriptor.diff, 389-v5-3-use-descriptor-for-streaming.diff, 389-v5-3-use-descriptor-for-streaming.diff, 389-v5-3-use-descriptor-for-streaming.diff, 389-v5-4-validate-parameters-for-descriptor.diff, 389-v5-4-validate-parameters-for-descriptor.diff, 389-v5-4-validate-parameters-for-descriptor.diff, 389-v5-5-special-case-to-preserve-legacy.diff, 389-v5-5-special-case-to-preserve-legacy.diff, 389-v5-5-special-case-to-preserve-legacy.diff, 389-v5-6-merge-artifacts.diff, 389-v5-6-merge-artifacts.diff
>
>
> As we continue to make changes to the on-disk format of SSTables, I propose we start versioning. The easiest way without breaking backwards compatibility is to store the version in the filename. This would allow us to figure out the version without looking at the SSTable data. After speaking to Jonathan here is the proposed example:
> <CF>-<ID>-<VERSION>-<DATA|INDEX|FILTER>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.