[Improvement] Possible resource leak in RocksDBKvBackend.java
#1955
Labels
improvement
Improvements on everything
RocksDBKvBackend.java
#1955
What would you like to be improved?
In the method scan an exception could mean that db is not closed, same in deleteRange. Local varaible options is not closed in initRocksDB.
How should we improve?
Use try/catch/finally and close options?
The text was updated successfully, but these errors were encountered: