-
Notifications
You must be signed in to change notification settings - Fork 102
ConfirmSectorProofsValid: batch VerifyDealsOnSectorProveCommit #474
Comments
See #483 and be careful not to introduce another problem of that sort. |
Q: How should we handle errors here? At the moment, we skip each sector with invalid deals independently (allowing the other sectors to be confirmed). |
I think we want to maintain that property. The request to the market actor should really be a crude batch, associating each sector id with its deals. The response should indicate which ones succeeded. The market actor will need to be careful to persist state changes only for the successful sector groups as atomic units. |
Even if we don't batch these, as low hanging fruit we should at least not make this call if the sector has no deals. |
@anorth The PR to NOT call |
Please remove the TODO, but yes let's keep this issue open. |
We've determined this isn't high importance for network launch. It's an optimization to execution time, but unlikely a large contributor to overall chain validation time (it hasn't shown up in any profiles yet). I've reduced it to P3. cc @wadealexc |
This is a good option for further optimizing aggregated prove commit. |
From builtin/miner/miner_actor.go:ConfirmSectorProofsValid:
I believe this is referring to batching multiple sectors in a single call from miner to market instead of one call per sector.
The text was updated successfully, but these errors were encountered: