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

make trash optional (Closes: #219) #220

Merged
merged 4 commits into from
Jun 26, 2021

Conversation

sebastianrath
Copy link
Contributor

@sebastianrath sebastianrath commented Jun 26, 2021

As described in the issue, switching between commits takes too much time caused by the mentioned hash calculation.

This PR changes the behaviour of SnowFS where all files are deleted by default. A flag RESET can move the files to trash instead if needed. This flag introduces a significant performance drop

Before
old-restore

New
new-restore

@sebastianrath sebastianrath linked an issue Jun 26, 2021 that may be closed by this pull request
@sebastianrath sebastianrath merged commit 9d48a19 into snowtrack:main Jun 26, 2021
@sebastianrath sebastianrath deleted the bugfix/issue-219 branch June 26, 2021 18:03
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.

checkout way too slow
1 participant