thread-stream icon indicating copy to clipboard operation
thread-stream copied to clipboard

Is data lost if _flushSync took too long?

Open user20230119 opened this issue 2 years ago • 1 comments

What can we do after catching Error: _flushSync took too long?

Can we retry flushing or is the data lost from write?

user20230119 avatar Jan 10 '24 18:01 user20230119

The data is likely lost, and the process is in a bad/irrecoverable/unobservable state. Essentially the destination stream cannot pick it up.

mcollina avatar Jan 11 '24 11:01 mcollina