Table of Contents

Class PageCorruptionException

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

CRC32C checksum mismatch on a data page — the page is torn or corrupted. Thrown when on-load (OnLoad) verification detects a mismatch outside recovery — there is no repair (FPI was retired; recovery heals torn pages via the rebuild net).

public class PageCorruptionException : CorruptionException, ISerializable
Inheritance
PageCorruptionException
Implements
Inherited Members

Constructors

PageCorruptionException(int, uint, uint)

Creates a new PageCorruptionException for a page whose stored CRC does not match its computed CRC.

public PageCorruptionException(int pageIndex, uint expectedCrc, uint computedCrc)

Parameters

pageIndex int

Index of the page that failed verification.

expectedCrc uint

CRC32C stored in the page header.

computedCrc uint

CRC32C recomputed from the page contents.

Properties

ComputedCrc

CRC computed from the page contents.

public uint ComputedCrc { get; }

Property Value

uint

ExpectedCrc

CRC stored in the page header.

public uint ExpectedCrc { get; }

Property Value

uint