Display read-only repositories only with dataloss by default
Currently the dataloss command displays every outdated repository. Secondaries might be temporarily outdated as new writes arrive on the primary. Having a way to display these temporarily outdated repositories is helpful for evaluating how the replication is working. Most commonly the dataloss command is used after a failover to identify which repositories are in read-only mode and require administrator action. dataloss command should allow for displaying only the read-only repositories to ease the administrator in resolving the read-only modes after a failover.
The solution:
-
datalossshould clearly display in the output if a repository is in read-only mode by adding(read-only)qualifier next to the repository path. -
datalossshould by default only repositories in read-only mode. -
datalossshould have-allflag to dispaly every outdated repository.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information