zhli1142015 commented on a change in pull request #28769:
URL: https://github.com/apache/spark/pull/28769#discussion_r439787376



##########
File path: 
common/kvstore/src/main/java/org/apache/spark/util/kvstore/LevelDB.java
##########
@@ -229,6 +241,10 @@ public long count(Class<?> type, String index, Object 
indexedValue) throws Excep
     return idx.getCount(idx.end(null, indexedValue));
   }
 
+  /**
+   * Trying to close a JNI LevelDB handle with a closed DB can cause JVM 
crashes,

Review comment:
       Thanks, updated.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to