Skip to content
代码片段 群组 项目
未验证 提交 23b03aa2 编辑于 作者: Doug Stull's avatar Doug Stull 提交者: GitLab
浏览文件

Optimize organization_user creation on member creation

- switch to use a find first and create if not found
  paradigm so that we don't waste id allocation
- follows https://docs.gitlab.com/ee/development/sql.html#find_or_create_by-is-not-atomic
- see https://gitlab.com/gitlab-org/gitlab/-/issues/439062
上级 d9e01a27
No related branches found
No related tags found
无相关合并请求
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册