zenfs
zenfs copied to clipboard
db_stress verification
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.
Attention: "fs: Do not prepend path with '/' in FormatPathLexically" requires a ZenFS major version bump.
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.
Let's get this reviewed & merged