mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
* volume: count needles vacuum drops as unreadable and log each at error level Vacuum drops a live needle whose record fails to read back intact (CRC mismatch, malformed fields, short or dangling record). The key leaves the compacted index with no tombstone, so repair tools later treat it as a vacuumed delete. Log every dropped key at error level and count the drops in SeaweedFS_volumeServer_vacuuming_dropped_needles per collection, once the compacted index is written. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * grafana: add a panel for needles dropped by vacuum Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * seaweed-volume: count needles vacuum drops as unreadable and log each at error level Mirror the Go volume server: log every dropped key at error level and add SeaweedFS_volumeServer_vacuuming_dropped_needles per collection once the compacted index is written. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * volume: count dropped needles only after the compacted dat is flushed The final .cpd fsync runs in the deferred close and loadTmpNeedleMap can still fail after the index is saved; a copy failing there is retried and would count the same needles again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>