Closed ZhuWeiLin0 closed 2 years ago
Can you first compile RocksDB in debug mode and print the full stack trace?
Also, IIRC, nullb2
seems like a nullblk device, which is not well-supported by libzbd.
@ZhuWeiLin0 Could you try with --fs_uri=zenfs://dev:nullb2
(assuming /dev/nullb2 is an emulated zoned device.)
Also, IIRC,
nullb2
seems like a nullblk device, which is not well-supported by libzbd.
That is not true at all. The behavior of libzbd on nullblk is as good as the device zone management behavior, which depends on how the nullblk device is configured, and als depends on the kernel version (not all features are supported by all kernels).
@ZhuWeiLin0 Could you try with
--fs_uri=zenfs://dev:nullb2
(assuming /dev/nullb2 is an emulated zoned device.)
OMG thanks, it worked!!!!!! so i guess the ultimate solution is [ set every ignore_unknown_options to true in rocksdb/include/rocksdb/convenience.h and never forget the dev prefix
Also, IIRC,
nullb2
seems like a nullblk device, which is not well-supported by libzbd.
thanks a lot for your reply! i add 'dev' before 'nullb2' and it worked : )
@ZhuWeiLin0 Could you try with
--fs_uri=zenfs://dev:nullb2
(assuming /dev/nullb2 is an emulated zoned device.)OMG thanks, it worked!!!!!! so i guess the ultimate solution is [ set every ignore_unknown_options to true in rocksdb/include/rocksdb/convenience.h and never forget the dev prefix
No need to set the "--ignore_unknown_options". The "--fs_uri=..." string needs to be in correct format, then it all works. When it is not in expected format, zenfs returns error, which is not passed cleanly by rocksdb to db_bench, which is causing this crash. All the other issues that you mentioned are tracking this and trying to fix it so even if a wrong input is given, the application fails instead of crashing. Thanks.
@ZhuWeiLin0 Could you try with
--fs_uri=zenfs://dev:nullb2
(assuming /dev/nullb2 is an emulated zoned device.)OMG thanks, it worked!!!!!! so i guess the ultimate solution is [ set every ignore_unknown_options to true in rocksdb/include/rocksdb/convenience.h and never forget the dev prefix
No need to set the "--ignore_unknown_options". The "--fs_uri=..." string needs to be in correct format, then it all works. When it is not in expected format, zenfs returns error, which is not passed cleanly by rocksdb to db_bench, which is causing this crash. All the other issues that you mentioned are tracking this and trying to fix it so even if a wrong input is given, the application fails instead of crashing. Thanks.
but i'm pretty sure i tried the correct format without setting the "ignore_unknown_options", it failed
but i'm pretty sure i tried the correct format without setting the "ignore_unknown_options", it failed
Could you please confirm it ?
hello, everybody, I'm a newbie to zenfs and rocksdb, so any help is deeply appreciated!!
segmentation fault arise when I try to test zenfs with db_bench I used the newest version of rocksdb and zenfs, and i tried to solve this problem by setting "ignore_unknown_options=true" in ConfigOptions(every ignore_unknown_options is set to true in rocksdb/include/rocksdb/convenience.h), according to rocksdb#9333 . I also tried the solution mentioned in #126 , however, nothing worked. i notice that #115 have the same problem
this is really driving me crazy. again, any help is deeply appreciated!!!!! thanks!!!!