Expand description
V2 WAL Recovery Constants
This module defines all constants used throughout the recovery system, including performance targets, validation thresholds, and configuration limits.
Modules§
- format
- Recovery file format constants
- monitoring
- Recovery monitoring constants
- performance
- Recovery performance constants
- scanning
- WAL scanning constants
- state_
machine - Recovery state machine constants
- strategies
- Recovery strategy constants
- transaction
- Transaction validation constants
- v2
- V2-specific recovery constants
- validation
- Recovery validation constants
Constants§
- DEFAULT_
BATCH_ SIZE - Default batch size for transaction replay
- DEFAULT_
RECOVERY_ TIMEOUT_ SECONDS - Recovery timeout in seconds
- EMERGENCY_
RECOVERY_ TIMEOUT_ SECONDS - Emergency recovery timeout in seconds
- FAST_
RECOVERY_ TIMEOUT_ SECONDS - Fast recovery timeout in seconds
- MAX_
INCOMPLETE_ TRANSACTIONS - Maximum allowed incomplete transactions in WAL
- MAX_
RECOVERY_ ATTEMPTS - Maximum number of recovery attempts before giving up
- MAX_
RECOVERY_ SIZE - Maximum recovery file size (bytes) - 500MB
- MAX_
RETRY_ DELAY_ SECONDS - Maximum delay between recovery attempts (seconds)
- MAX_
WAL_ SIZE_ FOR_ AUTO_ RECOVERY - Maximum WAL file size for automatic recovery (bytes)
- MIN_
RECOVERY_ SIZE - Minimum recovery file size (bytes)
- MIN_
RETRY_ DELAY_ SECONDS - Minimum delay between recovery attempts (seconds)
- RECOVERY_
COMPLETION_ MAGIC - Completion record marker for recovery operations
- RECOVERY_
MAGIC - Recovery file magic number for integrity validation
- RECOVERY_
PROGRESS_ INTERVAL - Progress reporting interval during recovery (transactions)
- RECOVERY_
PROGRESS_ MAGIC - Progress record marker for recovery operations
- RECOVERY_
RETRY_ BACKOFF_ MULTIPLIER - Recovery retry backoff multiplier
- RECOVERY_
VERSION - Recovery file version