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

garbage cleaning #151

Open
ehsan6sha opened this issue Jul 11, 2023 · 1 comment
Open

garbage cleaning #151

ehsan6sha opened this issue Jul 11, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@ehsan6sha
Copy link
Member

ehsan6sha commented Jul 11, 2023

Right now when we upload a file it is stored locally and then pushed to blox backend. here we create 3 copies: 1 the original file, 1 the DAG version created on the client, 1 the DAG version created on backend. Two of these are on the client, occupying double the space. Can we somehow garbage collect?

@ehsan6sha ehsan6sha added the enhancement New feature or request label Jul 19, 2023
@ehsan6sha
Copy link
Member Author

What we can do is only keep the upper leafs (As they are only CIDs) and delete the very bottom row of nodes as they are the ones with the content

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants