Files
seaweedFS/weed/filer
Chris Lu 1b13324fb7 fix: skip log files with deleted volumes in filer backup (#7692)
fix: skip log files with deleted volumes in filer backup (#3720)

When filer.backup or filer.meta.backup resumes after being stopped, it may
encounter persisted log files stored on volumes that have since been deleted
(via volume.deleteEmpty -force). Previously, this caused the backup to get
stuck in an infinite retry loop with 'volume X not found' errors.

This fix catches 'volume not found' errors when reading log files and skips
the problematic file instead of failing. The backup will now:
- Log a warning about the missing volume
- Skip the problematic log file
- Continue with the next log file, allowing progress

The VolumeNotFoundPattern regex was already defined but never used - this
change puts it to use.

Fixes #3720
2025-12-09 19:03:15 -08:00
..
fmt
2025-12-04 10:40:01 -08:00
2024-03-25 12:50:43 -07:00
2022-10-12 00:03:27 -07:00
2023-01-04 09:52:25 -08:00
2022-08-17 12:42:03 -07:00
2023-04-13 22:32:45 -07:00