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
LoadScoreAvg12(): GetStuScoresByStuId err = avg_score not found for stuId: 101
context.Background
Function Called Error err = avg_score not found for stuId: 101
->Call Func SaveScoreScore12
panic: avg_score not found for stuId: 101
出现的问题
在示例8中,数据流图:
问题的描述
在程序中开启两个Goroutine分别执行Flow1和Flow2,如果Flow2执行到Function2,要执行Load操作时,Flow1并未到Function3并完成Save操作,就会出现下面的错误:
可能的方案
是否能在Connector中添加方法判断数据是否成功存储(Save),如果数据并未被加载完成,当前Function会阻塞等待,直到数据存储完成后再执行Load并进行后续操作
The text was updated successfully, but these errors were encountered: