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

Caleb Rackliffe updated CASSANDRA-20752:
----------------------------------------
    Test and Documentation Plan: new coverage in {{SSTableFlushObserverTest}}
                         Status: Patch Available  (was: In Progress)

> Flush SAI segment builder when current sstable writer is switched
> -----------------------------------------------------------------
>
>                 Key: CASSANDRA-20752
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20752
>             Project: Apache Cassandra
>          Issue Type: Improvement
>          Components: Feature/SAI
>            Reporter: Zhao Yang
>            Assignee: Pranav
>            Priority: Normal
>             Fix For: 5.0.x, 6.x
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> With sharded compaction, sstable writer may be switched when reaching 
> boundary in `SSTableRewriter#switchWriter`. But the switched writer's segment 
> builders are not flushed until all sharded are written and committed. 
> This unccessarily retains memory causing smaller segments and may even cause 
> OOM due to segment builder's min-flush-size.
> We can extend `SSTableFlushObserver` to be notified on sstable switched



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