Remove double locking; add feature flag for no double locking
Since we have the problem of double locking inside stop jobs, we add this feature flag here and handle both cases for the flag.
显示
- app/models/ci/build.rb 9 个添加, 7 个删除app/models/ci/build.rb
- app/models/environment.rb 14 个添加, 6 个删除app/models/environment.rb
- app/services/ci/retry_job_service.rb 9 个添加, 5 个删除app/services/ci/retry_job_service.rb
- config/feature_flags/gitlab_com_derisk/no_locking_for_stop_actions.yml 9 个添加, 0 个删除...e_flags/gitlab_com_derisk/no_locking_for_stop_actions.yml
- spec/models/environment_spec.rb 18 个添加, 0 个删除spec/models/environment_spec.rb
加载中
想要评论请 注册 或 登录