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

consider storiface.PathStorage when calculating storage requirements #6233

Merged

Conversation

nonsense
Copy link
Member

Addresses: #6182

When a sector gets to the FinalizeSector state, currently Lotus tries to acquire ~500GB of storage on the location for storage, while it needs much less for the sector.

This code was proposed by @moremorefun (Thank you!!) and I think it is solving the issue.

@nonsense nonsense marked this pull request as ready for review May 11, 2021 16:10
@nonsense nonsense requested review from raulk and dirkmc May 20, 2021 14:27
@nonsense
Copy link
Member Author

This has been tested on sofiaminer and I think it works fine.

Copy link
Contributor

@dirkmc dirkmc left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@magik6k magik6k merged commit 2d4eaf0 into filecoin-project:master May 20, 2021
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