You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Alexey Zotov (JIRA)" <ji...@apache.org> on 2012/12/06 12:50:58 UTC

[jira] [Updated] (CASSANDRA-4694) populate_io_cache_on_flush option should be configurable for each column family independently

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

Alexey Zotov updated CASSANDRA-4694:
------------------------------------

    Attachment: cassandra-1.1.2-4694-populate_io_cache_v3.txt

Brandon, sorry for a long delay. 

I created a new version of the patch, it allows to update "populate_io_cache_on_flush" through cql/cql3 now. The patch was created against current trunk (46f1c7fabd6a7102a7a363bcfdc40c62a3bdc461 commit). 
Note that cql/cql3 allows to update the option using UPDATE statement but doesn't allow to look on the current value using DESCRIBE statement.  
Please review the patch and point me what I should modify if it's necessary.
                
> populate_io_cache_on_flush option should be configurable for each column family independently
> ---------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-4694
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4694
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Alexey Zotov
>            Assignee: Alexey Zotov
>            Priority: Minor
>              Labels: cli, core, documentation
>             Fix For: 1.2.1
>
>         Attachments: cassandra-1.1.2-4694-populate_io_cache_v3.txt, cassandra-1.1-4694-populate_io_cache.txt, cassandra-1.2-4694-populate_io_cache.txt, cassandra-1.2-4694-populate_io_cache_v2.txt
>
>
> I suggest to configure populate_io_cache_on_flush option for each column family. It should be configurable from cassandra-cli and should be stored in System keyspace. 
> That could be useful if you have a few column families inside single keyspace and you need to fit in memory only one of them.
> Patch has been attached. I've been testing it on pseudo-cluster using ccm. So I don't have fully confidence about lack of bugs. Please carefully review that code.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira