cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Williams (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-7215) Key cache is disabled by default if not specified when turning on row cache.
Date Tue, 13 May 2014 14:21:15 GMT

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

Mime
View raw message