You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jacek Lewandowski (Jira)" <ji...@apache.org> on 2023/06/12 07:14:00 UTC

[jira] [Updated] (CASSANDRA-18513) Limit the read size on the row level

     [ https://issues.apache.org/jira/browse/CASSANDRA-18513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacek Lewandowski updated CASSANDRA-18513:
------------------------------------------
    Reviewers: Berenguer Blasi, Maxwell Guo  (was: Maxwell Guo)

> 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
>
> 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: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org