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 (Updated) (JIRA)" <ji...@apache.org> on 2011/10/04 14:51:34 UTC

[jira] [Updated] (CASSANDRA-2749) fine-grained control over data directories

     [ https://issues.apache.org/jira/browse/CASSANDRA-2749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcus Eriksson updated CASSANDRA-2749:
---------------------------------------

    Attachment: 2749_backwards_compatible_v1.patch

First version of a backwards compatible patch.

Approach is:
* On startup, recursively glob all data directories to find existing sstables
* whenever generating new files, look at the setting in the config, and put the file there
* probably more, cant remember, my brain is messed up after fighting with this for a few days, look at patch! :)

this gives that a user can enable/disable the setting without mocking around manually with the sstables.

Comments? Yes, the setting is still hardcoded as a marker that this is not ready to be merged :)
                
> fine-grained control over data directories
> ------------------------------------------
>
>                 Key: CASSANDRA-2749
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2749
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Jonathan Ellis
>            Priority: Minor
>             Fix For: 1.1
>
>         Attachments: 0001-Make-it-possible-to-put-column-families-in-subdirect.patch, 2749_backwards_compatible_v1.patch
>
>
> Currently Cassandra supports multiple data directories but no way to control what sstables are placed where. Particularly for systems with mixed SSDs and rotational disks, it would be nice to pin frequently accessed columnfamilies to the SSDs.
> Postgresql does this with tablespaces (http://www.postgresql.org/docs/9.0/static/manage-ag-tablespaces.html) but we should probably avoid using that name because of confusing similarity to "keyspaces."

--
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