Skip to content
Snippets Groups Projects
  1. Feb 08, 2018
    • Gregory Stark's avatar
      Add indexes and change SQL for expired artifacts to deal with artifacts migration efficiently · 271e7a32
      Gregory Stark authored
      Artifacts are in the middle of being migrated from ci_builds to
      ci_job_artifacts. The expiration date is currently visible in both of
      these tables and the test for whether an expired artifact is present
      for a job is complex as it requires checking both the of the tables.
      
      Add two new indexes, one on ci_builds.artifacts_expire_at and one on
      ci_job_artifacts.expire_at to enable finding expired artifacts
      efficiently.
      
      And until the migration is finished, replace the SQL for finding
      expired and non-expired artifacts with a hand-crafted UNION ALL based
      query instead of using OR. This overcomes a database optimizer
      limitation that prevents it from using these indexes.
      
      When the migration is finished the next version should remove this
      query and replace it with a much simpler query on just
      ci_job_artifacts. See
      https://gitlab.com/gitlab-org/gitlab-ce/issues/42561 for followup.
      271e7a32
  2. Feb 06, 2018
  3. Dec 21, 2017
  4. Dec 14, 2017
  5. Dec 03, 2017
  6. Oct 30, 2017
  7. Sep 04, 2017
  8. Sep 03, 2017
  9. Jul 20, 2017
  10. Jul 17, 2017
  11. Jul 05, 2017
  12. Jun 12, 2017
  13. Jun 01, 2017
  14. May 25, 2017
  15. May 23, 2017
    • Shinya Maeda's avatar
      Add feature test with unicode trace · a74b7d90
      Shinya Maeda authored
      Squashed commit of the following:
      
      commit 43e5bba774e9e383dd55c665e82f6fcfc4ebfc4f
      Author: Shinya Maeda <gitlab.shinyamaeda@gmail.com>
      Date:   Mon Apr 17 17:28:44 2017 +0900
      
          Add fix
      
      commit 09610eebdf22ad048812bb86022504b2ad917e19
      Author: Shinya Maeda <gitlab.shinyamaeda@gmail.com>
      Date:   Mon Apr 17 17:03:49 2017 +0900
      
          Add trace test
      a74b7d90
  16. Apr 28, 2017
  17. Apr 06, 2017
  18. Apr 04, 2017
  19. Mar 23, 2017
  20. Mar 06, 2017
  21. Mar 02, 2017
  22. Mar 01, 2017
  23. Feb 16, 2017
  24. Jan 25, 2017
Loading