1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2025-09-09 21:02:46 +02:00
seaweedfs/weed/admin/topology
chrislu 72f0a47563 CRITICAL: Check ALL task states for volume conflicts
Fix major scheduling bug where only active tasks were checked for conflicts.

Changes:
- Check PENDING tasks: Prevent scheduling if task is queued for same volume
- Check ASSIGNED/ACTIVE tasks: Prevent scheduling if task is running on same volume
- Check RECENT tasks: Prevent immediate re-scheduling on same volume after completion

This prevents dangerous scenarios like:
 Scheduling vacuum while another vacuum is pending on same volume
 Scheduling balance while erasure coding is queued for same volume
 Immediately re-scheduling failed tasks without cooldown period

Critical safety improvement ensuring comprehensive volume-level task isolation.
2025-08-10 18:04:31 -07:00
..
active_topology.go Admin: refactoring active topology (#7073) 2025-08-03 01:35:38 -07:00
active_topology_test.go Admin: refactoring active topology (#7073) 2025-08-03 01:35:38 -07:00
capacity.go Implement volume-aware task conflict checking 2025-08-10 18:02:42 -07:00
internal.go CRITICAL: Check ALL task states for volume conflicts 2025-08-10 18:04:31 -07:00
storage_impact.go Self-Contained Design 2025-08-10 00:15:26 -07:00
storage_slot_test.go Admin: refactoring active topology (#7073) 2025-08-03 01:35:38 -07:00
structs.go Admin UI: Fetch task logs (#7114) 2025-08-09 21:47:29 -07:00
task_management.go Self-Contained Design 2025-08-10 00:15:26 -07:00
topology_management.go Implement volume-aware task conflict checking 2025-08-10 18:02:42 -07:00
types.go Self-Contained Design 2025-08-10 00:15:26 -07:00