bytedance / terarkdb

A RocksDB compatible KV storage engine with better performance
Apache License 2.0
2.04k stars 203 forks source link

free FLAG_env for lavafs before db_bench exit #234

Closed sqiu110 closed 2 years ago

sqiu110 commented 2 years ago

currently, lavafs's FLAG_env is not freed before db_bench exit. So it won't trigger umount(). as a result, it may cause metadata not sync on disk. This MR fixes it.

Signed-off-by: sheng.qiu sheng.qiu@bytedance.com