Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix rocksdb6 segfault #282

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

yhr
Copy link
Collaborator

@yhr yhr commented Oct 23, 2023

util: Fix segfault when doing a backup with an empty backup_path
Revert change of 'util: Fix occurances where back() might be called on an
empty string' for zenfs_tool_backup().

Otherwise test/utils/0040_backup.sh segfaults when building ZenFS with
RocksDB 6.29.fb (c++11).

Copy link
Contributor

@aravind-wdc aravind-wdc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Revert change of 'util: Fix occurances where back() might be called on an
empty string' for `zenfs_tool_backup()`.

Otherwise test/utils/0040_backup.sh segfaults when building ZenFS with
RocksDB 6.29.fb (c++11).

Signed-off-by: Dennis Maisenbacher <dennis.maisenbacher@wdc.com>
Signed-off-by: Hans Holmberg <hans.holmberg@wdc.com>
@yhr yhr force-pushed the fix_rocksdb6_segfault branch from e418c9f to a7289c9 Compare October 24, 2023 06:15
@yhr
Copy link
Collaborator Author

yhr commented Oct 24, 2023

LGTM

Thanks @aravind-wdc ! Great to get this sorted, now the nightly rocksdb 6 tests will pass

@yhr yhr merged commit 8337de1 into westerndigitalcorporation:master Oct 24, 2023
4 checks passed
@yhr yhr deleted the fix_rocksdb6_segfault branch October 24, 2023 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants