westerndigitalcorporation / zenfs

ZenFS is a storage backend for RocksDB that enables support for ZNS SSDs and SMR HDDs.
GNU General Public License v2.0
238 stars 87 forks source link

Fix segfault on master with RocksDB 6.29.fb #233

Closed MaisenbacherD closed 10 months ago

MaisenbacherD commented 1 year ago

Change of util: Fix occurances where back() might be called on an empty string for zenfs_tool_backup() uncovered this issue. test/utils/0040_backup.sh segfaults when building ZenFS with RocksDB 6.29.fb (c++11), therefore RocksDB nightly does not pass anymore.

This here might just be a workaround: https://github.com/MaisenbacherD/zenfs/commit/f73efe148eb54d5117ba0d0d1da554f9e96869e6

We need to find a proper solution.

yhr commented 10 months ago

Fixed!