public TreePage ModifyPage(long pageNumber) { var newPage = _llt.ModifyPage(pageNumber).ToTreePage(); newPage.Dirty = true; _recentlyFoundPages.Reset(pageNumber); PageModified?.Invoke(pageNumber); return(newPage); }
public TreePage ModifyPage(long pageNumber) { var newPage = GetWriteableTreePage(pageNumber); newPage.Dirty = true; _recentlyFoundPages.Reset(pageNumber); if (IsLeafCompressionSupported && newPage.IsCompressed) { DecompressionsCache.Invalidate(pageNumber, DecompressionUsage.Read); } PageModified?.Invoke(pageNumber); return(newPage); }