- 04 Apr, 2019 1 commit
-
-
Sean McGivern authored
When we use the `search` param on an `IssuableFinder`, we can run into issues. We have trigram indexes to support these searches. On GitLab.com, we often see Postgres's optimiser prioritise the (global) trigram indexes over the index on `project_id`. For group and project searches, we know that it will be quicker to filter by `project_id` first, as it returns fewer rows in most cases. For group issues search, we ran into this issue previously, and went through the following iterations: 1. Use a CTE on the project IDs as an optimisation fence. This prevents the planner from disregarding the index on `project_id`. Unfortunately it breaks some types of sorting, like priority and popularity, as they sort on a joined table. 2. Use a subquery for listing issues, and a CTE for counts. The subquery - in the case of group lists - didn't help as much as the CTE, but was faster than not including it. We can safely use a CTE for counts as they don't have sorting. Now, however, we're seeing the same issue in a project context. The subquery doesn't help at all there (it would only return one row, after all). In an attempt to keep total code complexity under control, this commit removes the subquery optimisation and applies the CTE optimisation only for sorts we know that are safe. This means that for more complicated sorts (like priority and popularity), the search will continue to be very slow. If this is a high-priority issue, we can consider introducing further optimisations, but this finder is already very complicated and additional complexity has a cost. The group CTE optimisation is controlled by the same feature flag as before, `attempt_group_search_optimizations`, which is enabled by default. The new project CTE optimisation is controlled by a new feature flag, `attempt_project_search_optimizations`, which is disabled by default.
-
- 02 Apr, 2019 14 commits
-
-
Sean McGivern authored
Migrate issuable states to integer patch 1 of 2 Closes #51789 See merge request gitlab-org/gitlab-ce!25107
-
Sean McGivern authored
Don't sanitize project names on project members page Closes #58751 See merge request gitlab-org/gitlab-ce!25946
-
Kamil Trzciński authored
Bump Kubectl and Helm in Auto-DevOps.gitlab-ci.yml See merge request gitlab-org/gitlab-ce!26534
-
Grzegorz Bizon authored
Tweak coverage parsing examples See merge request gitlab-org/gitlab-ce!26732
-
Kamil Trzciński authored
Adds `managed` boolean column to Clusters table Closes #56557 See merge request gitlab-org/gitlab-ce!26675
-
Mayra Cabrera authored
Adds boolean field 'managed' to clusters table. This new column will be used to distinguish those clusters that are automatically managed by gitlab. Needed for https://gitlab.com/gitlab-org/gitlab-ce/issues/56557
-
James Lopez authored
Fix group transfer selection possibilities Closes #52295 See merge request gitlab-org/gitlab-ce!26123
-
Peter Marko authored
-
Evan Read authored
Document that local tiller is used for Auto DevOps Closes #58879 See merge request gitlab-org/gitlab-ce!26688
-
Thong Kuah authored
Also note that apps will be released into the Kubernetes namespace for the environment, and that GitLab < 11.4 used a dedicated Tiller
-
Stan Hu authored
Fix attempting to drop views in PostgreSQL See merge request gitlab-org/gitlab-ce!26836
-
Evan Read authored
Docs: Fix anchor to deprecated variables doc See merge request gitlab-org/gitlab-ce!26788
-
Marcel Amirault authored
-
Wei-Meng Lee authored
-
- 01 Apr, 2019 25 commits
-
-
Mike Lewis authored
Refactor and restructure environments page See merge request gitlab-org/gitlab-ce!26400
-
Mike Lewis authored
Refactor and fix pipeline schedules See merge request gitlab-org/gitlab-ce!26756
-
Evan Read authored
-
Nick Thomas authored
Allow streaming io objects into Gitaly See merge request gitlab-org/gitlab-ce!26738
-
Fatih Acet authored
Fail Jest tests for unhandled Promise rejections Closes #56053 See merge request gitlab-org/gitlab-ce!26424
-
Fatih Acet authored
Update border radius of form controls and remove space above page titles See merge request gitlab-org/gitlab-ce!24497
-
Clement Ho authored
Add jQuery matchers to Jest Closes #59637 See merge request gitlab-org/gitlab-ce!26722
-
Winnie Hellmann authored
-
Bob Van Landuyt authored
This allows us to set the encoding of an IO passed without reading it into memory. This is useful if we want to stream files into Gitaly. Like we do when uploading a new file to the repository.
-
Douglas Barbosa Alexandre authored
Force a full GC after importing a project Closes #59477 See merge request gitlab-org/gitlab-ce!26803
-
Douglas Barbosa Alexandre authored
Add # frozen_string_literal to spec/workers See merge request gitlab-org/gitlab-ce!26790
-
Felipe Artur authored
-
Douglas Barbosa Alexandre authored
Remove find all tags feature flag See merge request gitlab-org/gitlab-ce!26746
-
Robert Speicher authored
Refactor the pipeline feature spec Closes #59747 See merge request gitlab-org/gitlab-ce!26822
-
Douglas Barbosa Alexandre authored
Fix Container Scanning for Kubernetes Runners Closes gitlab-ee#5763 and gitlab-ee#6636 See merge request gitlab-org/gitlab-ce!26793
-
Marcia Ramos authored
Add details for the first proof reader request See merge request gitlab-org/gitlab-ce!26812
-
Douwe Maan authored
Allow extra permissions in Project & Issue GraphQL types See merge request gitlab-org/gitlab-ce!26818
-
Thong Kuah authored
Adds `# frozen_string_literal: true` to spec/workers ruby files
-
Stan Hu authored
During a project import, it's possible that new branches are created by the importer to handle pull requests that have been created from forked projects, which would increment the `pushes_since_gc` value via `HousekeepingService.increment!` before a full garbage collection gets to run. This causes HousekeepingService to skip the full `git gc` and move to the incremental repack mode. To ensure that a garbage collection is run to pack refs and objects, explicitly execute the task. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/59477
-
Nick Thomas authored
Include cluster domain in Project Clusters API Closes #59441 See merge request gitlab-org/gitlab-ce!26735
-
Mayra Cabrera authored
Domain was introduced on 11.8 and was not included on the Project Cluster API. With this change user will be able to include domain when adding and updating a cluster. Domain will also be included on the GET calls. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/59441
-
Douglas Barbosa Alexandre authored
Check mergeability in merge to ref service See merge request gitlab-org/gitlab-ce!26757
-
Douglas Barbosa Alexandre authored
Disable inaccessible navigation links upon archiving a project Closes #58793 See merge request gitlab-org/gitlab-ce!26020
-
Lin Jen-Shin authored
Document ApplicationRecord / pluck_primary_key Closes #59690 See merge request gitlab-org/gitlab-ce!26764
-
Clement Ho authored
Fix bug where clicking file header in diff refreshes page Closes #57669 See merge request gitlab-org/gitlab-ce!26422
-