You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (JIRA)" <ji...@apache.org> on 2014/05/13 02:45:16 UTC

[jira] [Commented] (CASSANDRA-7215) Key cache is disabled by default if not specified when turning on row cache.

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

Brandon Williams commented on CASSANDRA-7215:
---------------------------------------------

Presumably, most people want one or the other, not both?

> Key cache is disabled by default if not specified when turning on row cache.
> ----------------------------------------------------------------------------
>
>                 Key: CASSANDRA-7215
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7215
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Ryan McGuire
>            Assignee: Marcus Eriksson
>            Priority: Minor
>
> If you specify a row cache on a table, but forget to specify the key cache, the key cache will be disabled, which is the opposite of the default.
> {code}
> cqlsh:query_cache_test> create table test (k text PRIMARY KEY, v text) WITH caching = {'rows_per_partition':10};
> cqlsh:query_cache_test> describe table test;
> CREATE TABLE query_cache_test.test (
>     k text PRIMARY KEY,
>     v text
> ) WITH bloom_filter_fp_chance = 0.01
>     AND caching = '{"keys":"NONE", "rows_per_partition":"10"}'
>   ...
> {code}



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