Skip to content

Commit 404108b

Browse files
magik6kLexLuthr
authored andcommitted
curio migrate: Skip not-found sectors
1 parent 0f44c0b commit 404108b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmd/migrate-curio/migrate.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,8 @@ func migrateBoostDeals(ctx context.Context, activeSectors bitfield.BitField, mad
330330
var proof abi.RegisteredSealProof
331331
err = tx.QueryRow(`SELECT reg_seal_proof FROM sectors_meta WHERE sp_id = $1 AND sector_num = $2`, mid, deal.SectorID).Scan(&proof)
332332
if err != nil {
333-
return false, fmt.Errorf("seal: %s: failed to get sector proof: %w", deal.DealUuid.String(), err)
333+
llog.Errorw("failed to get sector proof", "error", err, "deal", deal.DealUuid.String(), "sector", deal.SectorID, "miner", mid)
334+
return false, nil
334335
}
335336

336337
// Add deal to mk12 pipeline in Curio for indexing and announcement

0 commit comments

Comments
 (0)