Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Jkl 330 implement the new file system #140

Merged
merged 94 commits into from
Apr 15, 2024

Conversation

dahn510
Copy link
Member

@dahn510 dahn510 commented Apr 15, 2024

Storage server no longer breaks up files into chunks (0.jkl, 1.jkl ... n.jkl) and writes them into hard drive .
This improves cpu and memory usage especially on serving download requests as it no longer has to put all of split files back into its original form in memory before the file is sent to the user.
There are few optimizations on postproof and strays.

Migration

Updating requires migration from old file system to the new file system using jprovd migrate command.
Per each file it'll: check merkle tree file, migrate the old file and check file integrity after migration.
If anything fails during the migration the file that failed will have its folder renamed with corrupted- prefix and it won't be served. The migration command will print the details of the migration process so it's recommended to save it to some file.
e.g. jprovd migrate > result

Copy link
Member

@TheMarstonConnell TheMarstonConnell left a comment

Choose a reason for hiding this comment

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

at long last, salvation 🙌

@dahn510 dahn510 merged commit 08e37b0 into main Apr 15, 2024
5 checks passed
@dahn510 dahn510 deleted the JKL-330-implement-the-new-file-system branch April 15, 2024 17:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants