Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-08-01Resolve "Allow issue's Internal ID (`iid`) to be set when creating via the API"Jamie Schembri
2018-05-28Remove double-checked internal id generation.Andreas Brandl
This was needed for a transition phase only. For details see #45389. Closes #45389.
2018-04-16Double-check next value for internal ids.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.
2018-03-18Add spec for concurrent insert situation.Andreas Brandl
2018-03-16Address review comments.Andreas Brandl
2018-03-16Backwards-compat for migration specs.Andreas Brandl
The specs are based on a schema version that doesn't know about `internal_ids` table. However, the actual code being execute relies on it.
2018-03-16Refactor, extract class and improve comments.Andreas Brandl
2018-03-16More flexible way of internal id generation.Andreas Brandl
2018-03-16Atomic generation of internal ids for issues.Andreas Brandl