Hi devs, I noticed the checkpoint file is not forced to disk after completion, but we still proceed to truncate logs and older checkpoint files [1]. This seems to be a bug to me. Also, from my understanding, reading the checkpoint file without forcing to disk will still succeed because the file can be read from the OS write cache. Is there any other considerations for not forcing checkpoint files?
[1] https://github.com/apache/asterixdb/blob/2a76a0fe83fc5534c00923cd0f09f8477eac713a/asterixdb/asterix-transactions/src/main/java/org/apache/asterix/transaction/management/service/recovery/AbstractCheckpointManager.java#L176
