cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anubhav Kale (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-11160) Use UUID for SS Table Filenames
Date Thu, 11 Feb 2016 16:58:18 GMT
Anubhav Kale created CASSANDRA-11160:
----------------------------------------

             Summary: Use UUID for SS Table Filenames
                 Key: CASSANDRA-11160
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11160
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Anubhav Kale
            Priority: Minor


Today, Cassandra uses monotonically increasing counter to generate SS Table file names. While
this works practically, wouldn't it be safer / better if UUIDs are used in file names to make
them really unique ? AFAIK, no code paths rely on such counters being part of files. 

A specific scenario where this will really help is below:

In backup / restore model, suppose we move files out to some other storage. In that process,
we can optimize by not moving files that were already backed up using a check on file names
(which we can't do easily today because if the node went down, a file with same name can be
generated). Note that using incremental backups is not a viable option here, because we lose
the benefits of compaction (as discussed in my last comment of CASSANDRA-10960).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message