1. 07 Jan, 2019 1 commit
    • Gabriel Mazetto's avatar
      Only set as `read_only` when starting the per-project migration · ee4af0c6
      Gabriel Mazetto authored
      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).
      ee4af0c6
  2. 04 Jan, 2019 39 commits