Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
b2cc96dc
Commit
b2cc96dc
authored
Jan 27, 2022
by
Furkan Ayhan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove FF ci_namespace_project_mirrors
Changelog: other
parent
138725b9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
20 deletions
+0
-20
app/services/ci/process_sync_events_service.rb
app/services/ci/process_sync_events_service.rb
+0
-2
config/feature_flags/development/ci_namespace_project_mirrors.yml
...eature_flags/development/ci_namespace_project_mirrors.yml
+0
-8
spec/services/ci/process_sync_events_service_spec.rb
spec/services/ci/process_sync_events_service_spec.rb
+0
-10
No files found.
app/services/ci/process_sync_events_service.rb
View file @
b2cc96dc
...
...
@@ -13,8 +13,6 @@ module Ci
end
def
execute
return
unless
::
Feature
.
enabled?
(
:ci_namespace_project_mirrors
,
default_enabled: :yaml
)
# preventing parallel processing over the same event table
try_obtain_lease
{
process_events
}
...
...
config/feature_flags/development/ci_namespace_project_mirrors.yml
deleted
100644 → 0
View file @
138725b9
---
name
:
ci_namespace_project_mirrors
introduced_by_url
:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/75517
rollout_issue_url
:
https://gitlab.com/gitlab-org/gitlab/-/issues/346786
milestone
:
'
14.6'
type
:
development
group
:
group::sharding
default_enabled
:
false
spec/services/ci/process_sync_events_service_spec.rb
View file @
b2cc96dc
...
...
@@ -62,16 +62,6 @@ RSpec.describe Ci::ProcessSyncEventsService do
end
end
context
'when the FF ci_namespace_project_mirrors is disabled'
do
before
do
stub_feature_flags
(
ci_namespace_project_mirrors:
false
)
end
it
'does nothing'
do
expect
{
execute
}.
not_to
change
(
Projects
::
SyncEvent
,
:count
)
end
end
it
'does not delete non-executed events'
do
new_project
=
create
(
:project
)
sync_event_class
.
delete_all
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment