gitlab-org--gitlab-foss/spec/lib/gitlab/hashed_storage
Gabriel Mazetto ee4af0c64c Only set as read_only when starting the per-project migration
In the previous code, we locked the project during the migration
scheduling step, which works fine for small setups, but can be
problematic in really big installations.

We now moved the logic to inside the worker, so we minimize the time a
project will be read-only. We also make sure we only do that if
reference counter is `0` (no current operation is in progress).
2019-01-07 23:53:06 +01:00
..
migrator_spec.rb Only set as read_only when starting the per-project migration 2019-01-07 23:53:06 +01:00