Update FlushCounterIncrementsWorker ownership
What does this MR do and why?
This worker is shared by multiple groups. But rubocop bans shared ownership of workers.
Since shared is not a valid category for workers I've created the following table to determine ownership. The worker takes a model and attribute each of which represents a column that gets updated by the worker.
The model feature_category is determined by database dictionary and spec feature_categories for that model. While the group is not fully aligned since certain attributes more clearly belong to a certain domain like package for instance.
| model | attribute | model feature_category | group |
|---|---|---|---|
ProjectStatistics |
build_artifacts_size |
source_code_management(spec),consumables_cost_management(db) |
grouppipeline execution |
ProjectStatistics |
packages_size |
source_code_management(spec),consumables_cost_management(db) |
grouppackage registry |
ProjectStatistics |
pipeline_artifacts_size |
source_code_management(spec)/consumables_cost_management(db) |
grouppipeline execution |
ProjectStatistics |
snippets_size |
source_code_management(spec),consumables_cost_management(db) |
groupsource code |
ProjectDailyStatistic |
fetch_count |
source_code_management(spec),consumables_cost_management(db) |
groupsource code |
Projects::DataTransfer |
repository_egress |
source_code_management |
groupsource code |
Projects::DataTransfer |
artifacts_egress |
source_code_management |
groupsource code |
Projects::DataTransfer |
packages_egress |
source_code_management |
groupsource code |
Projects::DataTransfer |
registry_egress |
source_code_management |
groupsource code |
VirtualRegistries::Packages::Maven::Cache::Entry (EE) |
downloads_count |
virtual_registry |
grouppackage registry |
VirtualRegistries::Container::Cache::Entry (EE) |
downloads_count |
virtual_registry |
groupcontainer registry |
Based on this I've determined that the most common feature category is source_code_management and will update it to that.
Edited by Allison Browne