You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When making a storage deal, once the data has been successfully transferred to the provider, the client polls the provider to check on the state of the deal until the deal has been published:
aarshkshah1992
changed the title
Add configurable max errors waiting for deal acceptance
Client should stop polling provider for deal acceptance after (deal start epoch + grace period) has elapsed
Mar 25, 2021
Description
When making a storage deal, once the data has been successfully transferred to the provider, the client polls the provider to check on the state of the deal until the deal has been published:
go-fil-markets/storagemarket/impl/clientstates/client_states.go
Lines 171 to 209 in d5b1990
If there is an error polling the provider, the client waits for 30 seconds then tries again.
go-fil-markets/storagemarket/impl/client.go
Line 45 in d5b1990
If there is no error but the deal hasn't been accepted yet, the client also waits for 30 seconds then tries again.
Currently there is no upper bound on the number of retries.
Proposed solution
Keep polling until the deal proposal start epoch has been reached (plus 10 epochs).
At that point, fail the deal.
Increase polling interval to 5s (at the moment it's set to 1s in lotus)
The text was updated successfully, but these errors were encountered: