public static long lastContainedLogTimestamp(Path logDir, OffsetAndEpoch snapshotId) {
        try (FileRawSnapshotReader reader = FileRawSnapshotReader.open(logDir, snapshotId)) {
            return lastContainedLogTimestamp(reader);
        }
    }
Mark a snapshot for deletion by renaming with the deleted suffix.

@return the path of the snapshot marked for deletion (i.e. with .delete suffix)
raft/src/main/java/org/apache/kafka/snapshot/Snapshots.java