Files
Vetea edcd1171a4 fix(cli): mark snapshot verify --parallel as deprecated and no-op (#5552)
`--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.
2026-09-10 14:07:07 -07:00
..
2021-05-03 10:28:00 -07:00
2024-01-11 18:02:31 -08:00