Skip to content

Conversation

pranavshenoy
Copy link
Contributor

add SSTableFlushObserver#onSSTableWriterSwitched to flush SAI segment builder for written shards without waiting for entire transaction to complete

This reduces memory usage during sharded compaction.

The PR is cherry-picked from here.

The Cassandra Jira

… SAI segment builder for written shards without waiting for entire transaction to complete (apache#1859)

This reduces memory usage during sharded compaction.

riptano/cndb#14725 OOM during SAI compaction
with large num of shards

Flush segment builder when sstable writer is switched to free memory
without waiting full compaction to complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant