Skip to content
Snippets Groups Projects
  1. Sep 20, 2024
  2. Sep 17, 2024
  3. Sep 10, 2024
  4. Sep 06, 2024
  5. Sep 04, 2024
  6. Aug 26, 2024
  7. Aug 23, 2024
  8. Aug 21, 2024
  9. Aug 18, 2024
    • Stan Hu's avatar
      Raise default PostgreSQL shared buffers minimum to 256 MB · b981f9b6c10e
      Stan Hu authored
      Previously the Docker container set the PostgreSQL shared buffers to a
      minimum of 1 MB to avoid using the default of 25% of the node's
      memory. While that meager value worked previously, this value is not
      only overly conservative but it is now insufficient for background
      migrations that have a large number of partitioned tables.
      
      From
      https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8682#note_2058612975
      we see that the 2 years of `audit_events` needs about 20 MB just to
      query the table metadata. The 1 MB value failed with `no unpinned
      buffers available` because PostgreSQL needs more shared buffers for
      query planning.
      
      Raise the default to 256 MB to provide enough headroom for future
      tables and to ensure PostgreSQL effectively caches data. Update the
      documentation in the template accordingly.
      
      Relates to https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8682
      
      Changelog: fixed
      b981f9b6c10e
  10. Aug 19, 2024
  11. Aug 14, 2024
  12. Aug 13, 2024
  13. Aug 01, 2024
  14. Aug 09, 2024
  15. Aug 06, 2024
  16. Jul 15, 2024
  17. Jul 11, 2024
  18. Jul 15, 2024
  19. Jul 12, 2024
  20. Jun 30, 2024
  21. Apr 15, 2024
  22. Jul 12, 2024
  23. Jul 10, 2024
  24. Apr 08, 2024
  25. Jun 26, 2024
    • Stan Hu's avatar
      Attempt to retry twice to determine Redis server version · 91afd5f5b826
      Stan Hu authored
      We had two different customers upgrade GitLab and run into `stderr:
      Error: Connection reset by peer` when attempting to determine the
      Redis version. This appears to have occurred because `gitlab-ctl
      reconfigure` can restart Redis right before it checks the version.
      This causes the `gitlab-ctl reconfigure` to fail outright.
      
      To avoid this failure mode, set the Chef `retries` parameter to 2. By
      default the `retry_delay` is 2 seconds.
      
      Relates to
      https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8597
      
      Changelog: fixed
      91afd5f5b826
  26. Jun 27, 2024
    • Stan Hu's avatar
      Fix Redis password handling with reserved characters · ba009e3bf187
      Stan Hu authored
      Previously including reserved characters such as `@` in the Redis
      password would fail because `URI::Generic::DEFAULT_PARSER.escape` did
      not consider `@` unsafe, which it generally isn't per RFC 2396 and
      3986. However, the `@` is not allowed in the userinfo field, and the
      URI builder for Ruby fails if using a reserved character were
      included.
      
      To fix this, use `ERB.url_encode`, which always escapes any
      non-alphanumeric string.
      
      Relates to https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8602
      
      Changelog: fixed
      ba009e3bf187
  27. Jun 04, 2024
  28. Jun 24, 2024
  29. Jun 12, 2024
    • Vasilii Iakliushin's avatar
      Disable request buffering for new SSH endpoints · ed3f9dbbf52b
      Vasilii Iakliushin authored
      Contributes to https://gitlab.com/gitlab-org/gitlab/-/issues/466160
      
      **Problem**
      
      While testing the new implementation of SSH endpoints for git related
      actions. I noticed a problem reproducible in my
      local environment.
      
      The request from GitLab-Shell to Workhorse was hanging. After in
      investigation I discovered the root cause of this problem.
      
      In our NGINX configuration we use request buffering. After adding the
      new endpoint to the list of exceptions, then problem was resolved.
      
      **Solution**
      
      Add new endpoints to the list of exceptions for nginx configuration.
      
      Changelog: changed
      ed3f9dbbf52b
  30. Jun 24, 2024
    • Ian Baum's avatar
      Add gitlab-backup user · ab269a7991a2
      Ian Baum authored
      * Creates the gitlab-backup user and groups if they dont' exist
      * Adds the user to other groups
      * For use by gitlab-backup-cli for read/write permission to data for
        backups and restores
      
      Changelog: added
      ab269a7991a2
  31. Jun 19, 2024
  32. Jun 13, 2024
Loading