Skip to content
Snippets Groups Projects
  1. May 20, 2021
  2. May 19, 2021
  3. May 12, 2021
  4. Apr 22, 2021
  5. Apr 16, 2021
  6. Mar 30, 2021
  7. May 20, 2021
  8. May 19, 2021
  9. May 18, 2021
  10. May 17, 2021
  11. May 18, 2021
  12. May 17, 2021
  13. May 16, 2021
  14. May 17, 2021
  15. May 12, 2021
  16. May 17, 2021
  17. May 05, 2021
    • Sami Hiltunen's avatar
      Deprecate Praefect's failover_election_strategy config option · f4903c3e788e
      Sami Hiltunen authored
      Praefect recently strated supporting electin a primary Gitaly node for
      each repository separately. This allows for scaling storage capacity
      horizontally and distributing the write load across Gitaly nodes. We
      intend to require all installation to use the new `per_repository`
      election strategy in 14.0. Doing so, we'd deprecate the existing
      election strategies which are the `sql` and `local` strategies.
      
      The migration requires users to shutdown Praefect's prior to changing
      the election strategy, so we can't simply default to the new strategy.
      Once everyone is on the new election strategy in 14.0, the
      `failover_election_strategy` option is no longer needed. As such, we'd
      remove that configuration key in 14.0.
      
      Given the above, the deprecation affects all installations regardless of the
      election strategy they are using:
      
      1. `sql` and `local` strategies should be changed to the `per_repository`
         strategy following the migration steps in 13.12 to ensure smooth upgrade
         to 14.0.
      2. `per_repository` election strategy users should no longer use the config
         option starting from 14.0 onwards.
      
      This commit adds a deprecation notice that is printed out if Praefect is enabled
      in the configuration. The notice prompts the users to switch to the new election
      strategy and to stop using the config key from 14.0 onwards.
      
      Changelog: deprecated
      f4903c3e788e
  18. May 14, 2021
  19. Mar 22, 2021
  20. May 14, 2021
Loading