You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yang Jie (Jira)" <ji...@apache.org> on 2022/05/09 04:35:00 UTC

[jira] [Created] (SPARK-39127) Fix potential risk of LevelDBIterator leak

Yang Jie created SPARK-39127:
--------------------------------

             Summary: Fix potential risk of LevelDBIterator leak
                 Key: SPARK-39127
                 URL: https://issues.apache.org/jira/browse/SPARK-39127
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
    Affects Versions: 3.4.0
            Reporter: Yang Jie


Similar as SPARK-39063

There is lock contention between `LevelDBIterator.finalize()` and `LevalDb.close()` method. If `LevelDB.close()` method is executed first, the `LevelDBIterator`s hold by `Finalizer` will not close before the `LevelDB` close.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org