-
Notifications
You must be signed in to change notification settings - Fork 11
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
SDR Pipeline and storage GC #38
Conversation
6f7103d
to
1650034
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@magik6k Can you do small write on the working of this GC. We will need to document this in detail for users.
There's a number of cleanup tasks:
|
@magik6k I found the button and function to remove failed sector from pipeline. There is one edge case where we have done precommit but then sectors fails and we remove it from sdr-pipeline from UI. This sector will still not cleaned up because it would be part of precommit check if I am not wrong. One remaining case would be hooking up "Terminate and Delete" to this process if possible. |
In that case the sector is marked as failed, and, for now will require that you click the button removing the sector from the pipeline (on the pipeline page). Eventually we can automate this, but right now I want the basic, conservative mechanism in.
No need, terminated sectors pass all requirements to get marked for GC (not live and not unproven) |
I think you misunderstood my concern. We are already removing this sector from sdr pipeline with the button. But since this sector has done precommit, it will be removed from GC list due to https://github.com/filecoin-project/curio/pull/38/files#diff-9b4dfc8d93411be23d2384e421666249165866d1d76f27f2b8b0494ff6311fecR161-R172
Should we adjust "Terminate and Delete" to just terminate then? |
Fine to keep the immediate delete there imo
Ah yes, likely want to create a gc mark at the same time |
Work in progress: