Table of Contents

Enum WalProcessingOption

Namespace
RocksDbNet
Assembly
RocksDb.Net.dll

What RocksDb should do with a write-ahead log record during recovery.

public enum WalProcessingOption

Fields

ContinueProcessing = 0

Apply the record and carry on.

CorruptedRecord = 3

Treat the record as corrupt.

Whether this fails the open depends on WalRecoveryMode. Under the default, TolerateCorruptedTailRecords, RocksDb treats it as the end of the log and opens successfully without the record. Under AbsoluteConsistency the open fails.

IgnoreCurrentRecord = 1

Skip this record and carry on with the next one.

StopReplay = 2

Stop replaying. Everything after this record is discarded.

Remarks

Values are defined by c.h.