Ryan McGuire created CASSANDRA-7215:
---------------------------------------

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

Reply via email to