Making sure that we surface errors in flushing as soon as possible (next write)
There is no need to switch over immediately to the data file, and it may cause problems (the log file data is already cached, probably)