-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add Safety Features to Renew Sectors Command #8398
Comments
I like the two-step idea. It should also warn about non-cc sectors, because, at least in case of fil+ sectors, renewing them may not be the intended action. |
Great idea @magik6k! That would be a very a useful addition. |
If it can differentiate between CC and deal/FIL+ sectors then adding a flag like this: Could also be an option. |
@Reiers I completely agree, that should be an option and would make it super clear. I would even go as far that you always have to give an option --only-cc=true or to renew any others --with-deals=true, so no matter if you execute it like lotus-miner sectors renew --really-do-it you never change the deal duration or anything else. Thanks @TippyFlitsUK to put this together |
I did run into power lost after the renew command. what happened to the fil+ sectors? @TippyFlitsUK |
So this feature Personally, I think it solves a lot of the above mentioned issues. But there still might be some desire to have a simulation check/confirm for this command? |
Closing this now as the Example:
|
Checklist
Ideas
.Lotus component
Improvement Suggestion
Since the arrival of Snap Deals, the
lotus-miner renew
command has become an essential tool for SP's looking to make full use of existing sectors.In its current form I believe it is far too easy to renew unintended sectors in error. We are already seeing examples of this in support channels which have resulted in accidental storage power loss.
I would like to initially propose a similar approach to the one that is already used when using the
lotus-miner sectors expired --remove-expired
function. When using this command a list of affected sectors is displayed prior to removal by default and a command is then suggested which includes--confirm-remove-count
and--expired-epoch
as required fields.A similar enhancement to the
lotus-miner sectors renew
command would initially display a list of affected sectors in the same way as above and include the--from
and--to
flags as required fields. This would also remove the necessity for--really-do-it flag
.I would sincerely welcome comments or alternative suggestions.
Many thanks
The text was updated successfully, but these errors were encountered: