[ 
https://issues.apache.org/jira/browse/CASSANDRA-18513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17731486#comment-17731486
 ] 

Maxwell Guo commented on CASSANDRA-18513:
-----------------------------------------

+1 too

> Limit the read size on the row level
> ------------------------------------
>
>                 Key: CASSANDRA-18513
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18513
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Local/SSTable
>            Reporter: Jacek Lewandowski
>            Assignee: Jacek Lewandowski
>            Priority: Normal
>             Fix For: 4.0.x, 4.1.x, 5.0
>
>
> When deserializing a row, we have a limit on amount of data we can read per 
> cell. If an sstable is corrupted in a certain way, it may read many cells 
> with extreme length leading to oom errors. When we read a row, it has a row 
> size in the beginning. The idea is to limit the read size for a cell to the 
> minimum of the max cell length and the remaining row size. 



--
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