Nivy Kani created CASSANDRA-21519:
-------------------------------------

             Summary: Throw CorruptSSTableException in fill()
                 Key: CASSANDRA-21519
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21519
             Project: Apache Cassandra
          Issue Type: Bug
            Reporter: Nivy Kani
            Assignee: Nivy Kani


In ThreadLocalReadAheadBuffer, in the rare case that chunk metadata and file 
size are out of sync (e.g. bytes erased from the file after chunk metadata is 
calculated), we’d enter an infinite loop.
 
The proposed fix is to throw a CorruptSSTableException if we’re trying to read 
past the end of a file, rather than clamping the read. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to