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

Test roundtrips of snapshot metadata to disk with FS error injection #505

Merged
merged 3 commits into from
Dec 23, 2024

Conversation

jorisdral
Copy link
Collaborator

No description provided.

This mainly includes `bracket`-style combinators for setting up a simulated file
system and blockio-uring instance, and checking some properties on the mocked
file system automatically.
This means we clean up the named snapshot directory correctly in case something
goes wrong
@jorisdral jorisdral force-pushed the jdral/fault-roundtrip-snapshot-metadata branch 3 times, most recently from ea64dbd to ea64f39 Compare December 20, 2024 14:01
This test is similar to the roundtrip test we already had, but now we test that
the roundtrip holds even if there was a disk exception at some point, in
particular during the part where we write metadata files to disk.
@jorisdral jorisdral force-pushed the jdral/fault-roundtrip-snapshot-metadata branch from ea64f39 to 3538bff Compare December 20, 2024 14:04
Copy link
Collaborator

@dcoutts dcoutts left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@recursion-ninja recursion-ninja left a comment

Choose a reason for hiding this comment

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

📤 LGTM, as well.

@jorisdral jorisdral added this pull request to the merge queue Dec 23, 2024
Merged via the queue into main with commit 3ac3bfa Dec 23, 2024
27 checks passed
@jorisdral jorisdral deleted the jdral/fault-roundtrip-snapshot-metadata branch December 23, 2024 10:27
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