dfdfa913ba
- Add two new ActiveRecord models: - RootNamespaceStoragestatistics will persist root namespace statistics - NamespaceAggregationSchedule will save information when a new update to the namespace statistics needs to be scheduled - Inject into UpdateProjectStatistics concern a new callback that will call an async job to insert a new row onto NamespaceAggregationSchedule table - When a new row is inserted a new job is scheduled. This job will update call an specific service to update the statistics and after that it will delete thee aggregated scheduled row - The RefresherServices makes heavy use of arel to build composable queries to update Namespace::RootStorageStatistics attributes. - Add an extra worker to traverse pending rows on NAmespace::AggregationSchedule table and schedule a worker for each one of this rows. - Add an extra worker to traverse pending rows on NAmespace::AggregationSchedule table and schedule a worker for each one of this rows |
||
---|---|---|
.. | ||
ci | ||
mentionable | ||
storage | ||
token_authenticatable_strategies | ||
access_requestable.rb | ||
atomic_internal_id.rb | ||
avatarable.rb | ||
awardable.rb | ||
batch_destroy_dependent_associations.rb | ||
blob_language_from_git_attributes.rb | ||
blob_like.rb | ||
blocks_json_serialization.rb | ||
bulk_member_access_load.rb | ||
cache_markdown_field.rb | ||
cacheable_attributes.rb | ||
case_sensitivity.rb | ||
chronic_duration_attribute.rb | ||
closed_at_filterable.rb | ||
created_at_filterable.rb | ||
deployable.rb | ||
deployment_platform.rb | ||
deprecated_assignee.rb | ||
descendant.rb | ||
diff_file.rb | ||
diff_positionable_note.rb | ||
discussion_on_diff.rb | ||
each_batch.rb | ||
editable.rb | ||
enum_with_nil.rb | ||
expirable.rb | ||
fast_destroy_all.rb | ||
faster_cache_keys.rb | ||
feature_gate.rb | ||
from_union.rb | ||
ghost_user.rb | ||
group_descendant.rb | ||
has_ref.rb | ||
has_status.rb | ||
has_variable.rb | ||
ignorable_column.rb | ||
iid_routes.rb | ||
importable.rb | ||
issuable.rb | ||
issuable_states.rb | ||
label_eventable.rb | ||
loaded_in_group_list.rb | ||
manual_inverse_association.rb | ||
maskable.rb | ||
mentionable.rb | ||
milestoneish.rb | ||
mirror_authentication.rb | ||
note_on_diff.rb | ||
noteable.rb | ||
optionally_search.rb | ||
participable.rb | ||
presentable.rb | ||
project_features_compatibility.rb | ||
project_services_loggable.rb | ||
prometheus_adapter.rb | ||
protected_branch_access.rb | ||
protected_ref.rb | ||
protected_ref_access.rb | ||
protected_tag_access.rb | ||
reactive_caching.rb | ||
reactive_service.rb | ||
redactable.rb | ||
redis_cacheable.rb | ||
referable.rb | ||
relative_positioning.rb | ||
resolvable_discussion.rb | ||
resolvable_note.rb | ||
routable.rb | ||
select_for_project_authorization.rb | ||
service_push_data_validations.rb | ||
sha_attribute.rb | ||
shardable.rb | ||
sortable.rb | ||
spammable.rb | ||
strip_attribute.rb | ||
subscribable.rb | ||
taskable.rb | ||
throttled_touch.rb | ||
time_trackable.rb | ||
token_authenticatable.rb | ||
triggerable_hooks.rb | ||
uniquify.rb | ||
update_project_statistics.rb | ||
updated_at_filterable.rb | ||
valid_attribute.rb | ||
with_uploads.rb |