Lisandro Pin
2ecbae3611
Add volume.scrub and ec.scrub shell commands to scrub regular & EC volumes on demand. (#8188)
* Implement RPC skeleton for regular/EC volumes scrubbing.
See https://github.com/seaweedfs/seaweedfs/issues/8018 for details.
* Add `volume.scrub` and `ec.scrub` shell commands to scrub regular & EC volumes on demand.
F.ex:
```
> ec.scrub --full
Scrubbing 10.200.17.13:9005 (1/10)...
Scrubbing 10.200.17.13:9001 (2/10)...
Scrubbing 10.200.17.13:9008 (3/10)...
Scrubbing 10.200.17.13:9009 (4/10)...
Scrubbing 10.200.17.13:9004 (5/10)...
Scrubbing 10.200.17.13:9010 (6/10)...
Scrubbing 10.200.17.13:9007 (7/10)...
Scrubbing 10.200.17.13:9002 (8/10)...
Scrubbing 10.200.17.13:9003 (9/10)...
Scrubbing 10.200.17.13:9006 (10/10)...
Scrubbed 20 EC files and 20 volumes on 10 nodes
Got scrub failures on 1 EC volumes and 2 EC shards :(
Affected volumes: 10.200.17.13:9005:1
Details:
[10.200.17.13:9005] expected 551041 bytes for needle 6, got 551072
[10.200.17.13:9005] needles in volume file (1) don't match index entries (173) for volume 1
```
2026-02-04 17:08:31 -08:00
..
2026-02-04 12:44:52 -08:00
2026-01-28 14:34:07 -08:00
2026-02-04 10:37:20 -08:00
2026-02-03 17:43:58 -08:00
2026-01-22 14:07:24 -08:00
2025-10-17 22:11:50 -07:00
2026-01-07 13:06:08 -08:00
2026-01-29 20:03:43 -08:00
2026-01-23 20:12:59 -08:00
2026-01-07 13:06:08 -08:00
2025-08-22 22:10:30 -07:00
2026-01-31 13:46:37 -08:00
2026-01-22 14:05:45 -08:00
2026-01-07 13:06:08 -08:00
2026-01-28 20:46:03 -08:00
2026-02-02 17:55:04 -08:00
2025-12-23 14:48:50 -08:00
2026-01-29 09:57:49 -08:00
2026-01-07 13:06:08 -08:00
2026-02-04 16:23:20 -08:00
2026-01-12 13:21:48 -08:00
2026-01-07 13:06:08 -08:00
2026-02-04 08:48:55 -08:00
2025-12-08 01:24:42 -08:00
2026-02-04 17:08:31 -08:00
2024-02-14 08:26:38 -08:00
2026-01-07 13:06:08 -08:00
2026-02-03 00:20:38 -08:00
2026-01-18 14:02:34 -08:00
2026-01-29 21:51:46 -08:00
2026-02-03 17:56:25 -08:00
2026-01-22 14:07:24 -08:00
2026-02-04 12:44:52 -08:00
2025-11-29 11:36:22 -08:00
2025-12-25 11:36:38 -08:00