1. 23 4月, 2019 1 次提交
  2. 16 4月, 2019 1 次提交
    • K
      Rewind IID on Ci::Pipelines · fb078636
      Kamil Trzciński 提交于
      If no pipeline is created we currently have IID gap.
      This is due to fact that we generate IID not on save,
      but rather ahead of time. This results, us,
      losing IIDs.
      fb078636
  3. 01 4月, 2019 1 次提交
  4. 29 1月, 2019 1 次提交
    • A
      Flush InternalId records after import · fede3a0b
      Andreas Brandl 提交于
      After the import has finished, we flush (delete) the InternalId records
      related to the project at hand. This means we're starting over with
      tracking correct internal id values, a new record will be created
      automatically when the next internal id is generated.
      
      The GitHub importer assigns iid values by using supplied values from
      GitHub. We skip tracking internal id values during the import in favor
      of higher concurrency. Deleting any InternalId records after the import
      has finished is an extra measure to guarantee consistency.
      
      Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/54270.
      fede3a0b
  5. 04 12月, 2018 1 次提交
  6. 03 12月, 2018 3 次提交
  7. 05 10月, 2018 1 次提交
  8. 15 8月, 2018 1 次提交
  9. 01 8月, 2018 1 次提交
  10. 28 5月, 2018 1 次提交
  11. 16 4月, 2018 1 次提交
    • A
      Double-check next value for internal ids. · 14acbf24
      Andreas Brandl 提交于
      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
  12. 19 3月, 2018 1 次提交
  13. 16 3月, 2018 5 次提交