Gurpreet Nanda created SPARK-62366:
--------------------------------------
Summary: Compact small SST files when creating a snapshot
Key: SPARK-62366
URL: https://issues.apache.org/jira/browse/SPARK-62366
Project: Spark
Issue Type: Task
Components: Structured Streaming
Affects Versions: 4.1.4
Reporter: Gurpreet Nanda
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]