Cassandra
  1. Cassandra
  2. CASSANDRA-1983

Make sstable filenames contain a UUID instead of increasing integer

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      sstable filenames look like CFName-1569-Index.db, containing an integer for uniqueness. This makes it possible (however unlikely) that the integer could overflow, which could be a problem. It also makes it difficult to collapse multiple nodes into a single one with rsync. I do this occasionally for testing: I'll copy our 20 node cluster into only 3 nodes by copying all of the data files and running cleanup; at present this requires a manual step of uniqifying the overlapping sstable names. If instead of an incrementing integer, it would be handy if these contained a UUID or somesuch that guarantees uniqueness across the cluster.

        Activity

        David King created issue -
        Jonathan Ellis made changes -
        Field Original Value New Value
        Fix Version/s 0.8 [ 12314820 ]
        Component/s Core [ 12312978 ]
        Jonathan Ellis made changes -
        Fix Version/s 1.0 [ 12316349 ]
        Fix Version/s 0.8 [ 12314820 ]
        Jonathan Ellis made changes -
        Fix Version/s 1.0 [ 12316349 ]
        Affects Version/s 0.7.0 [ 12316026 ]
        Gavin made changes -
        Workflow no-reopen-closed, patch-avail [ 12542451 ] patch-available, re-open possible [ 12753134 ]
        Gavin made changes -
        Workflow patch-available, re-open possible [ 12753134 ] reopen-resolved, no closed status, patch-avail, testing [ 12755776 ]
        Jonathan Ellis made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            David King
          • Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development