[ https://issues.apache.org/jira/browse/CASSANDRA-20752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Caleb Rackliffe updated CASSANDRA-20752: ---------------------------------------- Fix Version/s: 5.0.x 6.x > 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 > Priority: Normal > Fix For: 5.0.x, 6.x > > > 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: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org