Skip to content

Commit 4440241

Browse files
authored
fix(f3): handle failure to receive manifest from the client (#298)
If we keep going here, we'll panic. See (also includes a regression test): filecoin-project/lotus#12634
1 parent d30120f commit 4440241

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tasks/f3/f3_task.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ func (f *F3Task) awaitLeaseExpiry(ctx context.Context, stillOwned func() bool, l
198198
}
199199
log.Errorw("Failed to check F3 progress while awaiting lease expiry. Retrying after backoff.", "attempts", backoff.Attempt(), "backoff", backoff.Duration(), "err", err)
200200
time.Sleep(backoff.Duration())
201+
continue
201202
case manifest == nil || manifest.NetworkName != lease.Network:
202203
// If we got an unexpected manifest, or no manifest, go back to the
203204
// beginning and try to get another ticket. Switching from having a manifest

0 commit comments

Comments
 (0)