aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_volume_check_disk_test.go
AgeCommit message (Collapse)AuthorFilesLines
2025-12-02Mutex command output writes for `volume.check.disk`. (#7605)Lisandro Pin1-3/+3
Prevents potential screen garbling when operations are parallelized .Also simplifies logging by automatically adding newlines on output, if necessary. Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
2025-11-10Rework parameters passing for functions within `volume.check.disk`. (#7448)Lisandro Pin1-20/+245
* Rework parameters passing for functions within `volume.check.disk`. We'll need to rework this logic to account for read-only volumes, and there're already way too many parameters shuffled around. Grouping these into a single struct simplifies the overall codebase. * similar fix * Improved Error Handling in Tests * propagate the errors * edge cases * edge case on modified time * clean up --------- Co-authored-by: chrislu <chris.lu@gmail.com>
2025-11-04Nit: use `time.Duration`s instead of constants in seconds. (#7438)Lisandro Pin1-2/+5
Nit: use `time.Durations` instead of constants in seconds. Makes for slightly more readable code.
2023-10-09 fix: skipping checking active volumes with the same number of files at the ↵Konstantin Lebedev1-0/+72
moment (#4893) * fix: skipping checking active volumes with the same number of files at the moment https://github.com/seaweedfs/seaweedfs/issues/4140 * refactor with comments https://github.com/seaweedfs/seaweedfs/issues/4140 * add TestShouldSkipVolume --------- Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co>