cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-4940) Truncate doesn't clear row cache
Date Mon, 12 Nov 2012 03:10:12 GMT

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

Jonathan Ellis updated CASSANDRA-4940:
--------------------------------------

             Reviewer: slebresne
             Priority: Minor  (was: Major)
    Affects Version/s:     (was: 1.1.6)
        Fix Version/s: 1.1.7
             Assignee: Jonathan Ellis
    
> Truncate doesn't clear row cache
> --------------------------------
>
>                 Key: CASSANDRA-4940
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4940
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Jeremiah Jordan
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 1.1.7
>
>
> Truncate doesn't clear the row cache.  select * from <table> which skips the row
cache returns no data, but selecting by key does.
> cqlsh:temp> select v1..v3 from temp2 where k in (3,2,1);
>  v1 | v2 | v3
> ----+----+----
>  16 | 17 | 18
>  12 | 13 | 14
>   8 |  9 | 10
> cqlsh:temp> truncate temp2;
> cqlsh:temp> select v1..v3 from temp2 where k in (3,2,1);
>  v1 | v2 | v3
> ----+----+----
>  16 | 17 | 18
>  12 | 13 | 14
>   8 |  9 | 10
> cqlsh:temp> select * from temp2;
> cqlsh:temp> select v1..v3 from temp2 where k in (3,2,1);
>  v1 | v2 | v3
> ----+----+----
>  16 | 17 | 18
>  12 | 13 | 14
>   8 |  9 | 10

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

Mime
View raw message