Skip to content

Return correct error when repository has no up to date replicas

Sami Hiltunen requested to merge smh-no-up-to-date-replicas-error into master

GetConsistentStorages retrieves the up to date replicas of a repository. If the repository has no up to date replicas, it returns a repository not found error. This is incorrect as the repository may still exist from Prafect's point of view, it's just that the only replica with the latest changes has been lost. This commit changes GetConsistentStorages to return a more descriptive error for this scenario instead of a repository not found error.

From #4204 (comment 933333365)

Edited by Sami Hiltunen

Merge request reports