presto-raptor-legacy/src/main/java/io/prestosql/plugin/raptor/legacy/storage/ShardRecoveryManager.java/ShardRecoveryManager/isFileCorrupt
class ShardRecoveryManager:    private static boolean isFileCorrupt(File file, long size, OptionalLong xxhash64)
    {
        return (file.length() != size) || (xxhash64.isPresent() && (xxhash64(file) != xxhash64.getAsLong()));
    }