When using ExcerptAppender over Chronicle Queue (append only log) is it guaranteed that only the end of file may be truncated in case of power loss i.e. all intermediate records are not corrupted? If so what implementation/filesystem/OS behaviour does this rely on?
I'm interested in linux/x64. Since this is over an mmap - my understanding is that the order of flushing of pages from page cache isn't defined and also the disk can reorder writes. Is it supposed to only be guaranteed for SSDs or a particular filesystem?