-
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 ProofReplicaUpgrade2 #9250
Comments
I don't think this should be scoped as part of nv17. Doing so means we would have to switch on network version to start using the new I would propose delaying this issue until after the nv17 upgrade, at which point we simply always call @Kubuxu please chime in with thoughts. |
Agree we don’t HAVE to. If we don’t do it in this release, then it will at least take 3 upgrades for us to fully drop batch 1 function in actir. Doing it now we can drop it in next upgrade. |
It would be preferred if it could be removed in the next upgrade (but probably won't happen, FEVM) or one after that. |
thank you! lower it to P2 |
Yeah, the problem is just that doing it now is strictly harder than doing it after (because after the upgrade we can just switch without nv guards). |
I am convinced this is not mandatory for t his upgrade (for now 😉 ), moving this to opportunistic for now. |
I concur you don't need to implement these before nv17, but disagree that this means it'll take 3 upgrades to drop the old ones. The old methods will be dropped in nv18, if I have anything to say about it. Lotus will have implemented the new methods then, and your nv18 release will be mandatory. |
@anorth i think we will need
|
It's extremely unlikely this is done within hours of the upgrade and sit around in the message pool for that long. There are not terrible effects if these message fail. It's not worth the complexity to handle these messages. You should not implement any special retry/recovery above whatever general methods exist for retrying a failed high-level operation. Just declare the upgrade mandatory X hours before the network upgrade. |
Yeah, I concur with @anorth here. I think we:
|
Thanks @arajasek, the ability to do this staggered deployment is why I have decided to pursue this FIP. At the point that people are running v1.20 they will be sending new messages. I don't think we need to consider messages that were sent with v1.18 when people have to run v1.20 for the upgrade, although it might be worth it to reiterate that people should not run v1.18 right up to the line. Do we have any data on how the update pickup percentage looks before a network upgrade? |
Yeah, this FIP is great for allowing such changes to happen! We don't have great data on the update % leading up to the network upgrade (we could get some in a month as we lead into v17). Anecdotally, it does appear that a majority of users upgrade in the 24 hours before the upgrade. |
Descoping from v17 since it's a no-op for the upgrade. |
The switch to using PreCommitSectorBatch2 has been merged here: #11142. |
Closing this issue as ProveReplicaUpdates2 is being removed in the coming network upgrade (nv22), and ProveReplicaUpdates3 (method 35) has been introduced and implemented: #11831 |
introduced by https://github.com/filecoin-project/FIPs/blob/master/FIPS/fip-0041.md
lotus should start to call PreCommitSectorBatch2 instead of PreCommitSectorBatch1.
Local sector precommit info might need to be migrated to the new param.
The text was updated successfully, but these errors were encountered: