Skip to content

Commit

Permalink
fix(f3): handle failure to receive manifest from the client (#298)
Browse files Browse the repository at this point in the history
If we keep going here, we'll panic. See (also includes a regression test):

filecoin-project/lotus#12634
  • Loading branch information
Stebalien authored Oct 24, 2024
1 parent d30120f commit 4440241
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tasks/f3/f3_task.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ func (f *F3Task) awaitLeaseExpiry(ctx context.Context, stillOwned func() bool, l
}
log.Errorw("Failed to check F3 progress while awaiting lease expiry. Retrying after backoff.", "attempts", backoff.Attempt(), "backoff", backoff.Duration(), "err", err)
time.Sleep(backoff.Duration())
continue
case manifest == nil || manifest.NetworkName != lease.Network:
// If we got an unexpected manifest, or no manifest, go back to the
// beginning and try to get another ticket. Switching from having a manifest
Expand Down

0 comments on commit 4440241

Please sign in to comment.