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 16:21:15 UTC

[jira] [Resolved] (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:all-tabpanel ]

Brandon Williams resolved CASSANDRA-7215.
-----------------------------------------

       Resolution: Not a Problem
    Reproduced In:   (was: 2.1 beta2)
         Assignee:     (was: Marcus Eriksson)

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