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

Yuki Morishita commented on CASSANDRA-10680:
--------------------------------------------

Patch here: https://github.com/yukim/cassandra/tree/10680

(tests are running.)

The patch creates chunks right before sending file instead of the time when 
adding SSTables to stream.

> Deal with small compression chunk size better during streaming plan setup
> -------------------------------------------------------------------------
>
>                 Key: CASSANDRA-10680
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10680
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jeff Jirsa
>            Assignee: Yuki Morishita
>             Fix For: 2.1.x
>
>
> For clusters using small compression chunk size and terabytes of data, the 
> streaming plan calculations will instantiate hundreds of millions of 
> compressionmetadata$chunk objects, which will create unreasonable amounts of 
> heap pressure. Rather than instantiating all of those at once, streaming 
> should instantiate only as many as needed for a single file per table at a 
> time.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to