Skip to content

Report only read-only repositories by default in dataloss

Sami Hiltunen requested to merge smh-dataloss-filter-read-only into master

dataloss command currenly display every outdated repository on a virtual storage by default. While outdated secondaries should also be fixed, they do not require immediate administrator action as they do not affect the writability of the repository. Secondaries might also be outdated only temporarily until a replication job brings them up to date.

Outdated primary requires administrator action to enable the repository for writes again. This is currently a permanent state until administrator takes action. To reduce the noise from the tool, this commit only displays read-only repositories by default. Listing outdated writable repositories is still supported via the -writable flag.

Closes #3019 (closed)

Edited by Sami Hiltunen

Merge request reports