mirror of
https://github.com/kopia/kopia.git
synced 2026-09-13 13:48:32 -04:00
`--parallel` has had no effect on `snapshot verify` since #1921, which merged the tree-walk and file-verification parallelism into the single `VerifierOptions.Parallelism` field and wired it to `--file-parallelism`. `verifyCommandParallel` has had no reader since then: the flag parses, advertises a default of 8, and is silently discarded. The Consistency documentation page still recommends `--parallel=10` in four places, so users following it believe they are tuning something. Follow the existing convention in this file for `--all-sources`: hide the flag, label it as having no effect, and log a deprecation message when it is passed. Dropping `Default("8")` lets the zero value distinguish an explicit `--parallel` from an absent one, and stops the help text from advertising a default that does nothing. The flag still parses, so existing scripts and cron jobs keep working. Restoring a separate tree-walk parallelism knob would be the alternative fix, but that changes the public `snapshotfs.VerifierOptions` surface.