[
https://issues.apache.org/jira/browse/SPARK-62366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gurpreet Nanda updated SPARK-62366:
-----------------------------------
Affects Version/s: 5.0.0
(was: 4.1.4)
Issue Type: Improvement (was: Task)
> Compact small SST files when creating a snapshot
> ------------------------------------------------
>
> Key: SPARK-62366
> URL: https://issues.apache.org/jira/browse/SPARK-62366
> Project: Spark
> Issue Type: Improvement
> Components: Structured Streaming
> Affects Versions: 5.0.0
> Reporter: Gurpreet Nanda
> Priority: Major
>
> During compaction, if an SST files keys do not overlap with files at the
> lower level, RocksDB performs a "Compaction Trivial Move" which moves the
> files to the next level without compaction. This means for keys which
> consistently increase, state store will generate a new file every checkpoint
> and these won't be compacted under normal circumstances.
> This may lead to many small files, eventually leading to "Too many open
> files" errors.
>
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]