Details
-
Bug
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
None
-
Low
Description
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