forked from fjall-rs/lsm-tree
-
Notifications
You must be signed in to change notification settings - Fork 1
feat(fs): MemFs — in-memory Fs implementation for testing and in-memory trees #207
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
Closed
polaz
wants to merge
16
commits into
main
from
feat/#187-featfs-memfs--in-memory-fs-implementation-for-test
Closed
Changes from 10 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
1941a12
feat(fs): add MemFs in-memory filesystem for testing and ephemeral trees
polaz 043be5a
fix(fs): wire level-routed Fs to Table::recover and harden MemFs sema…
polaz b6ec642
fix(fs): fix writable flag for existing files, temp file cleanup, vlo…
polaz bc0eac1
refactor(vlog): reuse single Fs-opened handle for blob recovery sfa r…
polaz 05e2f30
fix(vlog): skip directories in blob recovery instead of panicking
polaz 531749f
fix(vlog): correct misleading log message in blob file recovery
polaz e05476c
fix(vlog): eliminate TOCTOU in blob recovery, skip dirs before parse
polaz cd87d76
docs(fs): add code comments for non-obvious MemFs design decisions
polaz 95ec4e8
style: reformat imports for rustfmt 1.94.1
polaz 9cf15f8
fix(fs): MemFs::remove_dir_all rejects file paths with InvalidInput
polaz f0eb42e
fix(fs): MemFs::rename rejects directory source and destination paths
polaz 2cb7d82
build: bump rust-toolchain.toml to 1.94.1 to match CI rustfmt
polaz c5bb6e1
fix(fs): harden MemFs open/create_dir_all/rename against dir-file con…
polaz 54e990a
style(vlog): reformat imports for rustfmt 1.94.1 across all vlog files
polaz 292551a
fix(fs): document Fs::rename atomicity, harden MemFs create_dir_all a…
polaz 5c629a3
fix(fs): MemFs::open rejects truncate/create without write access
polaz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.