The bug occurs under the following conditions:
- a compact storage CF
- querying across rows
- a tombstone in the first column of a row on the pagesize boundary
- you need to be querying at least 2*pagesize + 1 records
Attached is a go program using gocql which reproduces the bug fairly minimally.