Jeremiah Jordan created CASSANDRA-4940:
------------------------------------------
Summary: 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.6
Reporter: Jeremiah Jordan
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