bookkeeper
bookkeeper copied to clipboard
Check rocksdb closed before operating
Descriptions of the changes in this PR:
Motivation
Fix https://github.com/apache/bookkeeper/issues/4238
From the issue above we can see that the core dump could happen when operate Rocksdb after it has been closed. So we should check if closed before operating rocksdb.
Changes
Checking if closed before operation RocksDB.