Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Correctness - Consistency
-
Low
-
Low Hanging Fruit
-
Unit Test
-
All
-
None
-
Description
ThriftIntegrationTest is broken in the way that it does not actually test reads before and after flushing, because it does not do flush at all (see https://github.com/apache/cassandra/blob/cassandra-3.11/test/unit/org/apache/cassandra/cql3/validation/ThriftIntegrationTest.java#L939). After fixing that method so that it really flushes memtables to disk, we can see inconsistency in reads from dense table - the results returned from memtable differs from the results returned from sstable (the later are wrong, cell values are skipped unexpectedly).
java.lang.AssertionError: Invalid value for row 0 column 0 (value of type ascii), expected <value1> but got <>
In principle this problems is about skipping column values when doing row scan queries with explicitly selected columns (not wildcard), when the columns belong to a super column. This happens only when reading from sstables, it does not happen when reading from memtables.
Attachments
Issue Links
- relates to
-
CASSANDRA-15962 Digest for some queries is different depending whether the data are retrieved from sstable or memtable
- Resolved