Skip to content

Geo: improve error message when clone_url_prefix is nil

Gabriel Mazetto requested to merge 2896-error-out-clone-url-prefix-nil into master

What does this MR do?

If primary node doesn't contain a clone_url_prefix, replication will fail with an error pointing to that instead of a vague fatal: Could not read from remote repository.

Are there points in the code the reviewer needs to double check?

Not 100% sure behavior of existing sync workers wether we should execute after hooks in case of any exception or not.

Why was this MR needed?

The current error is misleading and fixing the issue is easier when you know where it's coming from.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #2896 (closed)

Edited by username-removed-283999

Merge request reports