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

Yuki Morishita commented on CASSANDRA-6962:
-------------------------------------------

bq. limit them to say 10 characters each (just for the file name), truncating 
the name if necessary?

We can truncate name to fit within os path limit adaptively with some 
calculation.

How about completely omit Keyspace name but keep ColumnFamily name and 
adaptively adjust(truncate) its name?

> examine shortening path length post-5202
> ----------------------------------------
>
>                 Key: CASSANDRA-6962
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6962
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Brandon Williams
>            Assignee: Yuki Morishita
>             Fix For: 2.1 beta2
>
>
> From CASSANDRA-5202 discussion:
> {quote}
> Did we give up on this?
> Could we clean up the redundancy a little by moving the ID into the directory 
> name? e.g., ks/cf-uuid/version-generation-component.db
> I'm worried about path length, which is limited on Windows.
> Edit: to give a specific example, for KS foo Table bar we now have
> /var/lib/cassandra/flush/foo/bar-2fbb89709a6911e3b7dc4d7d4e3ca4b4/foo-bar-ka-1-Data.db
> I'm proposing
> /var/lib/cassandra/flush/foo/bar-2fbb89709a6911e3b7dc4d7d4e3ca4b4/ka-1-Data.db
> {quote}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to