Skip to main content Module checker Copy item path Source Checker Checker evaluates whether a transformed SQL still preserves the original failure. PanicInfo ๐ Information about a detected panic in component logs. bootstrap_recovery ๐ Execute bootstrap recovery command to fully restart RisingWave.
This is needed when critical components (compute/meta/compactor) panic. check_component_panic ๐ Check if any critical component (compute/meta/compactor) has panicked recently.
Only checks logs modified within the given time window to avoid false positives. get_log_dir ๐ Get the default RisingWave log directory path. is_frontend_error ๐ Check if the error message indicates a frontend-only error (SQL syntax, type mismatch, etc.)
These errors are typically safe and can be handled by auto-recovery. reconnect_frontend ๐ Reconnect to the frontend PostgreSQL interface. run_query Executes a single SQL query string and returns (is_ok, error_message_if_any) search_panic_in_log ๐ Search for panic patterns in a log file.
Uses tail to read only the last N lines for efficiency. wait_for_auto_recovery ๐ Wait for frontend to auto-recover with a timeout.
Returns Ok if recovery succeeds, Err if timeout expires. wait_for_recovery Wait until RW recovery finishes (rw_recovery_status() = 'RUNNING')