mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-04 16:09:05 +00:00
- Fix panic on path canonicalization in check_has_pending_files() - Implement proper recursive directory checking for parquet files - Add exponential backoff to draining loop (50ms -> 1s) - Validate query parameter strictly in enable endpoint to prevent accidental node disablement These changes address critical robustness issues identified in the code review: 1. Prevents potential panics during shutdown when WAL path is missing 2. Ensures correct pending file detection instead of assuming all subdirectories have files 3. Reduces CPU usage during drain with exponential backoff 4. Prevents unintentional node disablement from invalid/missing parameters