You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jeremiah Jordan (JIRA)" <ji...@apache.org> on 2013/06/20 07:02:20 UTC
[jira] [Updated] (CASSANDRA-4940) Truncate doesn't clear row cache
[ https://issues.apache.org/jira/browse/CASSANDRA-4940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeremiah Jordan updated CASSANDRA-4940:
---------------------------------------
Affects Version/s: 1.1.0
> 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
> Affects Versions: 1.1.0
> Reporter: Jeremiah Jordan
> Assignee: Jonathan Ellis
> Priority: Minor
> Fix For: 1.2.0 beta 3
>
> Attachments: 4940.txt
>
>
> 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