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
Because like we're doing some IO requests, if any of them failed, others should quit, but if they're blocked in IO, the only way to do so is just quit Finish.
嵌套的
MapReduce
的reducer
中如果不调用writer.Write
方法,会产生一个ErrReduceNoOutput
错误,Finish 中 worker 返回异常会直接结束 Finish 调用,但是Finish
中调用的MapReduceVoid
会吞掉ErrReduceNoOutput
错误返回一个 nil,从最后结果看是没有异常的成功调用,实际其他的worker
都还在异步运行例如下面这样的调用:
The text was updated successfully, but these errors were encountered: