The vast majority of file writes done on FileBackedStorageEngine are performed through it's worker threads via asycn disk-write tasks. This means they are essentially immune to the effects of asynchronous channel closure caused by interrupting the writer threads. We do however do synchronous writes from user threads using the disk write context for updating entry metadata. To handle this properly we need to use the same tactics used for the read channel side on the write side.
The vast majority of file writes done on
FileBackedStorageEngine
are performed through it's worker threads via asycn disk-write tasks. This means they are essentially immune to the effects of asynchronous channel closure caused by interrupting the writer threads. We do however do synchronous writes from user threads using the disk write context for updating entry metadata. To handle this properly we need to use the same tactics used for the read channel side on the write side.