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 = 0Apply the record and carry on.
CorruptedRecord = 3Treat 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 = 1Skip this record and carry on with the next one.
StopReplay = 2Stop replaying. Everything after this record is discarded.
Remarks
Values are defined by c.h.