feat(shed): gas-sim compact-sectors #12837
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Not quite as useful as it should be, I think one problem I'm facing here is the restrictions on running CompactPartitions, so even though we attempt to do 48, ~1/2 of them are locked at any particular period. So it'll only make a difference for sectors that get allocated in the partitions we are compacting.
Also, I think a lot of the messages I try out are on already compact miners, so it's best to try with older miners who are still around and are still submitting messages.
But this is serving as a framework for further experimentation, so I'm parking it here.
lotus-shed gas-sim compact-sectors bafy2bzacebuimgnswbjtb4jf5ub3lzhrfl4i2phleagr5plxewmilvjsk4qwa
is one interesting message, results in: