Github user squito commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19383#discussion_r141955877
  
    --- Diff: 
common/kvstore/src/main/java/org/apache/spark/util/kvstore/LevelDB.java ---
    @@ -76,7 +76,7 @@ public LevelDB(File path, KVStoreSerializer serializer) 
throws Exception {
         this.types = new ConcurrentHashMap<>();
     
         Options options = new Options();
    -    options.createIfMissing(!path.exists());
    +    options.createIfMissing(true);
    --- End diff --
    
    just curious, did you encounter a problem w/ the previous version?  though 
I guess makes sense to tell leveldb to always create if missing.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to