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
The storage client implements a form of polling through the FSM by triggering self-looping ClientEventWaitForDealState events. This polling is done every second in practice. Unfortunately, because these are FSM events, they trigger event subscribers, which in turn ends up writing a journal record on the Lotus side.
Basically, for every inflight storage deal that hasn't yet been accepted, Lotus will write a big log statement every second.
Relevant symbols are:
waitAgain
CheckForDealAcceptance
ClientEventWaitForDealState
We should get rid of this polling-via-the-FSM contraption, and instead just perform the polling through a standard ticker loop goroutine which triggers an event back to the event loop once a condition has been met. This can be started by CheckForDealAcceptance.
The text was updated successfully, but these errors were encountered:
The storage client implements a form of polling through the FSM by triggering self-looping
ClientEventWaitForDealState
events. This polling is done every second in practice. Unfortunately, because these are FSM events, they trigger event subscribers, which in turn ends up writing a journal record on the Lotus side.Basically, for every inflight storage deal that hasn't yet been accepted, Lotus will write a big log statement every second.
Relevant symbols are:
We should get rid of this polling-via-the-FSM contraption, and instead just perform the polling through a standard ticker loop goroutine which triggers an event back to the event loop once a condition has been met. This can be started by
CheckForDealAcceptance
.The text was updated successfully, but these errors were encountered: