You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Marcus Eriksson (Created) (JIRA)" <ji...@apache.org> on 2011/11/04 21:05:51 UTC

[jira] [Created] (CASSANDRA-3459) Remove CF name from SSTable file

Remove CF name from SSTable file
--------------------------------

                 Key: CASSANDRA-3459
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3459
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Marcus Eriksson
            Priority: Minor
             Fix For: 1.1


When CASSANDRA-2749 is done, it is unnecessary to keep the CF name in the filename of the sstable files (this is already in the directory name). 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3459) Remove CF name from SSTable file

Posted by "Sylvain Lebresne (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13144373#comment-13144373 ] 

Sylvain Lebresne commented on CASSANDRA-3459:
---------------------------------------------

Sorry for the dumb question, but is there any other motivation to remove the cf name from the file name other than "we wouldn't *have* to anymore"?

Because even if we don't have to, I think it's still fairly convenient to have it in the file name for all of the cases where you move some sstables out of the initial repository. Or to reformulate, I'm fine with making it so that Descriptor don't rely on the file name to decide from which CF the sstable are for if that's what is proposed here, but I'd be in favor of keeping the file name as it is unless we have a compelling reason not to.
                
> Remove CF name from SSTable file
> --------------------------------
>
>                 Key: CASSANDRA-3459
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3459
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Marcus Eriksson
>            Priority: Minor
>             Fix For: 1.1
>
>
> When CASSANDRA-2749 is done, it is unnecessary to keep the CF name in the filename of the sstable files (this is already in the directory name). 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3459) Remove CF name from SSTable file

Posted by "Brandon Williams (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13144375#comment-13144375 ] 

Brandon Williams commented on CASSANDRA-3459:
---------------------------------------------

Is it really harmful to leave the CF name in?  Consider if you have 20 CFs and somehow lose the inode for one of the dirs and it's moved to lost+found.  Now there's no simple way to figure out what it is and move it back.
                
> Remove CF name from SSTable file
> --------------------------------
>
>                 Key: CASSANDRA-3459
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3459
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Marcus Eriksson
>            Priority: Minor
>             Fix For: 1.1
>
>
> When CASSANDRA-2749 is done, it is unnecessary to keep the CF name in the filename of the sstable files (this is already in the directory name). 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3459) Remove CF name from SSTable file

Posted by "Jonathan Ellis (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13144302#comment-13144302 ] 

Jonathan Ellis commented on CASSANDRA-3459:
-------------------------------------------

I'd kind of rather do this as part of CASSANDRA-2749 rather than separately, but if it's a Big Deal we can split it out.
                
> Remove CF name from SSTable file
> --------------------------------
>
>                 Key: CASSANDRA-3459
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3459
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Marcus Eriksson
>            Priority: Minor
>             Fix For: 1.1
>
>
> When CASSANDRA-2749 is done, it is unnecessary to keep the CF name in the filename of the sstable files (this is already in the directory name). 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CASSANDRA-3459) Remove CF name from SSTable file

Posted by "Marcus Eriksson (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcus Eriksson resolved CASSANDRA-3459.
----------------------------------------

    Resolution: Won't Fix
      Assignee: Marcus Eriksson

ok, agree, keeping the information in the filename
                
> Remove CF name from SSTable file
> --------------------------------
>
>                 Key: CASSANDRA-3459
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3459
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Marcus Eriksson
>            Assignee: Marcus Eriksson
>            Priority: Minor
>             Fix For: 1.1
>
>
> When CASSANDRA-2749 is done, it is unnecessary to keep the CF name in the filename of the sstable files (this is already in the directory name). 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3459) Remove CF name from SSTable file

Posted by "Peter Schuller (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13144655#comment-13144655 ] 

Peter Schuller commented on CASSANDRA-3459:
-------------------------------------------

Relatedly and more important is CASSANDRA-1983 IMO, as that would make it a lot easier to perform and test sstable based disaster recovery.
                
> Remove CF name from SSTable file
> --------------------------------
>
>                 Key: CASSANDRA-3459
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3459
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Marcus Eriksson
>            Assignee: Marcus Eriksson
>            Priority: Minor
>             Fix For: 1.1
>
>
> When CASSANDRA-2749 is done, it is unnecessary to keep the CF name in the filename of the sstable files (this is already in the directory name). 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3459) Remove CF name from SSTable file

Posted by "Marcus Eriksson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13144309#comment-13144309 ] 

Marcus Eriksson commented on CASSANDRA-3459:
--------------------------------------------

ah yeah agree, otherwise it would have to support both naming schemes again.. ill have a look if it is a big patch
                
> Remove CF name from SSTable file
> --------------------------------
>
>                 Key: CASSANDRA-3459
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3459
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Marcus Eriksson
>            Priority: Minor
>             Fix For: 1.1
>
>
> When CASSANDRA-2749 is done, it is unnecessary to keep the CF name in the filename of the sstable files (this is already in the directory name). 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira