Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-389

SSTable Versioning

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.7 beta 1
    • None
    • None

    Description

      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>

      Attachments

        1. 389-v3.patch
          20 kB
          Jonathan Ellis
        2. 0007-Don-t-serialize-Descriptors-as-filenames.patch
          3 kB
          Stu Hood
        3. 0006-Merge-oopses.patch
          28 kB
          Stu Hood
        4. 0005-The-special-casing-begins.patch
          1 kB
          Stu Hood
        5. 0004-Validate-params.patch
          4 kB
          Stu Hood
        6. 0003-Use-SSTable.Descriptor-for-Streaming.patch
          15 kB
          Stu Hood
        7. 0002-Add-keyspace-name-to-SSTable.Descriptor.patch
          6 kB
          Stu Hood
        8. 0001-Rebase-389-v4-for-trunk.patch
          24 kB
          Stu Hood

        Issue Links

          Activity

            People

              stuhood Stu Hood
              lenn0x Chris Goffinet
              Stu Hood
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: