Skip to content

Resolve "Reconfigure skips Geo DB migrations if Geo DB is not running on the same machine"

Resolves #4732 (closed)

The condition && node['gitlab']['geo-postgresql']['enable'] at https://gitlab.com/gitlab-org/omnibus-gitlab/blob/12.3.1+ee.0/files/gitlab-cookbooks/gitlab-ee/recipes/geo_database_migrations.rb#L42 prevents Geo DB migrations during reconfigure in HA (since Rails and the Geo DB are not enabled on the same machine).

It doesn't match non-Geo reconfigure/migration behavior, and requires confusingly different instructions (manually running gitlab-rake geo:db:migrate).

So this MR removes the condition.

Merge request reports

Loading