summaryrefslogtreecommitdiff
path: root/lib/api
diff options
context:
space:
mode:
authorAndreas Brandl <abrandl@gitlab.com>2018-07-27 14:39:48 +0200
committerAndreas Brandl <abrandl@gitlab.com>2018-07-30 11:51:43 +0200
commit90778e5d2752d4c10a536127d6ce75c32951b8c6 (patch)
treeecdce0141ccb2293724b6cb0b82531cbb5575f6a /lib/api
parent2ca8219a20f16636b7a0ffa899a1a04ab8e84782 (diff)
downloadgitlab-ce-90778e5d2752d4c10a536127d6ce75c32951b8c6.tar.gz
Require has_internal_id to pass a init block.
This is useful since the current scheme allows us to freely delete any records in internal_ids. If the record is not there, it will get rebuild using the init block. We require passing in 'init for the time being and as long as its not expensive to do so. This makes the scheme a bit more robust. If at some point, this is expensive - we may choose to make this optional while losing the ability to recalculate the value on the fly. Closes #49609.
Diffstat (limited to 'lib/api')
0 files changed, 0 insertions, 0 deletions