} finally {
cachePointer.releaseExclusiveLock();
diskCache.release(cacheEntry);
}
} else if (record instanceof OFileCreatedCreatedWALRecord) {
final OFileCreatedCreatedWALRecord fileCreatedCreatedRecord = (OFileCreatedCreatedWALRecord) record;
diskCache.openFile(fileCreatedCreatedRecord.getFileName(), fileCreatedCreatedRecord.getFileId());
diskCache.deleteFile(fileCreatedCreatedRecord.getFileId());
} else {
OLogManager.instance().error(this, "Invalid WAL record type was passed %s. Given record will be skipped.",
record.getClass());
assert false : "Invalid WAL record type was passed " + record.getClass().getName();
}