@ -274,14 +274,14 @@ struct ColumnFamilyOptions : public AdvancedColumnFamilyOptions {
enum class WALRecoveryMode : char {
enum class WALRecoveryMode : char {
// Original levelDB recovery
// Original levelDB recovery
// We tolerate incomplete record in trailing data on all logs
// We tolerate incomplete record in trailing data on all logs
// Use case : This is legacy behavior (default)
// Use case : This is legacy behavior
kTolerateCorruptedTailRecords = 0x00 ,
kTolerateCorruptedTailRecords = 0x00 ,
// Recover from clean shutdown
// Recover from clean shutdown
// We don't expect to find any corruption in the WAL
// We don't expect to find any corruption in the WAL
// Use case : This is ideal for unit tests and rare applications that
// Use case : This is ideal for unit tests and rare applications that
// can require high consistency guarantee
// can require high consistency guarantee
kAbsoluteConsistency = 0x01 ,
kAbsoluteConsistency = 0x01 ,
// Recover to point-in-time consistency
// Recover to point-in-time consistency (default)
// We stop the WAL playback on discovering WAL inconsistency
// We stop the WAL playback on discovering WAL inconsistency
// Use case : Ideal for systems that have disk controller cache like
// Use case : Ideal for systems that have disk controller cache like
// hard disk, SSD without super capacitor that store related data
// hard disk, SSD without super capacitor that store related data