Lisandro Pin
e5cf2d2a19
Give the ScrubVolume() RPC an option to flag found broken volumes as read-only. ( #8360 )
...
* Give the `ScrubVolume()` RPC an option to flag found broken volumes as read-only.
Also exposes this option in the shell `volume.scrub` command.
* Remove redundant test in `TestVolumeMarkReadonlyWritableErrorPaths`.
417051bb slightly rearranges the logic for `VolumeMarkReadonly()` and `VolumeMarkWritable()`,
so calling them for invalid volume IDs will actually yield that error, instead of checking
maintnenance mode first.
2026-03-26 10:20:57 -07:00
Lisandro Pin
fbe7dd32c2
Implement full scrubbing for regular volumes ( #8254 )
...
Implement full scrubbing for regular volumes.
2026-02-13 15:47:29 -08:00
Lisandro Pin
63b846b73b
Parallelize operations for the volume.scrub and ec.scrub commands ( #8247 )
...
Parallelize operations for the `volume.scrub` and `ec.scrub` commands.
2026-02-09 09:07:06 -08:00
Lisandro Pin
9d751a7b61
Contrib/volume scrub local ( #8226 )
2026-02-05 14:44:12 -08:00
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