-
Type:
Bug
-
Status: Resolved
-
Priority:
Normal
-
Resolution: Fixed
-
Component/s: Local/SSTable
-
Labels:None
-
Bug Category:Correctness - Recoverable Corruption / Loss
-
Severity:Low
-
Complexity:Normal
-
Discovered By:Adhoc Test
-
Platform:All
-
Impacts:None
-
Since Version:
-
Source Control Link:
-
Test and Documentation Plan:
In CASSANDRA-15086/CASSANDRA-15178 we started skipping the illegal legacy cells, problem is that if the row only contains illegal cells, we return a totally empty row which breaks stats collection: https://github.com/apache/cassandra/blob/93815db9853cb592edf13d82e91dc2e9d172f01f/src/java/org/apache/cassandra/db/rows/Rows.java#L70
If the row only has these invalid cells, we should add a primary key liveness info to it to match the 2.1 behaviour.