[ https://issues.apache.org/jira/browse/SPARK-38847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17520171#comment-17520171 ]
Apache Spark commented on SPARK-38847: -------------------------------------- User 'LuciferYang' has created a pull request for this issue: https://github.com/apache/spark/pull/36132 > Introduce a `viewToSeq` function for `KVUtils` > ---------------------------------------------- > > Key: SPARK-38847 > URL: https://issues.apache.org/jira/browse/SPARK-38847 > Project: Spark > Issue Type: Improvement > Components: Spark Core, SQL > Affects Versions: 3.4.0 > Reporter: Yang Jie > Priority: Minor > > There are many codes in spark that convert KVStoreView into `List`, and these > codes will not close `KVStoreIterator`, these resources are mainly recycled > by `finalize()` method implemented in `LevelDB` and `RockSB`, this makes > `KVStoreIterator` resource recycling unpredictable. -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org