zenfs icon indicating copy to clipboard operation
zenfs copied to clipboard

db_stress verification

Open MaisenbacherD opened this issue 2 years ago • 2 comments

This PR fixes a verification error that occurred when executing db_stress (RocksDB v6.29.5):

./db_stress --ops_per_thread=1000 --reopen=5 --db=dbname --fs-uri=zenfs://dev:nvmeXnX --read_fault_one_in=0

When boost::filesystem is enabled instead of filesystem_utility.h the "fs: Do not prepend path with '/' in FormatPathLexically" commit is necessary otherwise executing db_stress will end in the following error: open error: IO error: RenameLink: Failed to find the linked file

If filesystem_utility.h is enabled the "fs: Do not prepend path with '/' in FormatPathLexically" commit is not strictly necessary.

MaisenbacherD avatar Jun 17 '22 14:06 MaisenbacherD

Attention: "fs: Do not prepend path with '/' in FormatPathLexically" requires a ZenFS major version bump.

MaisenbacherD avatar Jun 17 '22 14:06 MaisenbacherD

Version bump is not needed anymore, as the commit "fs: Do not prepend path with '/' in FormatPathLexically" was removed because boost is not being used as a filesystem path replacement.

MaisenbacherD avatar Jun 20 '22 12:06 MaisenbacherD

Let's get this reviewed & merged

yhr avatar Aug 17 '22 08:08 yhr