Make sure we fail (stop chain) when DB promotion did
Fixes https://gitlab.com/gitlab-org/gitlab-ee/issues/5504