Skip to content
Snippets Groups Projects
  1. Apr 16, 2018
    • Andreas Brandl's avatar
      Double-check next value for internal ids. · 14acbf24
      Andreas Brandl authored
      This is useful for a transition period to migrate away from
      `NoninternalAtomicId`. In a situation where both the old and new code to
      generate a iid value is run at the same time (for example, during a
      deploy different nodes may serve both versions), this will lead to
      problems regarding the correct `last_value`. That is, what we track in
      `InternalId` may get out of sync with the maximum iid present for
      issues.
      
      With this change, we double-check that and correct the `last_value` with
      the maximum iid found in issues if necessary.
      
      This is subject to be removed with the 10.8 release and tracked over
      here: https://gitlab.com/gitlab-org/gitlab-ce/issues/45389
      
      Closes #45269.
      14acbf24
  2. Apr 12, 2018
    • blackst0ne's avatar
      [Rails5] Fix `undefined method 'arel_table' for Ci::Group:Class` error · cbf29064
      blackst0ne authored
      Some specs fail in rails5 branch with errors like
      
      ```
      1) Group#secret_variables_for when the ref is not protected contains only the secret variables
          Failure/Error: variables = Ci::GroupVariable.where(group: list_of_ids)
      
          NoMethodError:
            undefined method `arel_table' for Ci::Group:Class
      ```
      
      This commit fixes it.
      cbf29064
  3. Apr 11, 2018
  4. Apr 10, 2018
  5. Apr 09, 2018
  6. Apr 07, 2018
  7. Apr 06, 2018
  8. Apr 05, 2018
Loading