Another issue is if the whole of the opened file is discarded - the file truncated to zero, a new file is created with the same LSN, whereas the truncated-to-zero file could have been reused instead.
Another issue is if the whole of the opened file is discarded - the file truncated to zero, a new file is created with the same LSN, whereas the truncated-to-zero file could have been reused instead.