filecoin-project / go-state-types

Primitive and low level types used in chain state and actor method parameters
Other
24 stars 37 forks source link

Migrate deadlines using diff #199

Closed ZenGround0 closed 1 year ago

ZenGround0 commented 1 year ago

This is a speculative optimization. The idea is that we might be doing many loads migrations and writes of effecitively the same data if there are differences in the snapshotted sectors amts inside of miner deadlines. This change does sector info migrations on each sector info exactly once.

snissn commented 1 year ago

Re-opening this because our tests have confirmed its correctness https://github.com/filecoin-project/lotus/pull/11149