This repository has been archived by the owner on Jun 6, 2023. It is now read-only.
Optimize RescheduleAllAsFaults #1413
Labels
change-behaviour
Changes behaviour or state interpretation, necessitating a network version upgrade
enhancement
New feature or request
scale
Related to chain state or throughput scalability
Milestone
It currently:
Unfortunately, this will cause as many IPLD reads (from cron) as there are distinct sector expirations.
Instead, we should pass in the known faulty power, non-faulty power, faulty sectors, and non-faulty sectors. Then, we can subtract out the epochs we're not going to reschedule, schedule the new expiration for the remaining sectors, and batch delete the rest.
The text was updated successfully, but these errors were encountered: