Guard a writing operation that can break in Geo (#76 (closed)) secondary node
See: https://gitlab.com/gitlab-org/gitlab-ee/issues/1744
/cc @stanhu @brodock