BigW Consortium Gitlab
This adds a minimum interval to BackgroundMigrationWorker, ensuring background migrations of the same class only run once every 5 minutes. This prevents a thundering herd problem where scheduled migrations all run at once due to their delays having been expired (e.g. as the result of a queue being paused for a long time). If a job was recently executed it's rescheduled with a delay that equals the remaining time of the job's lease. This means that if the lease expires in two minutes we only need to wait two minutes, instead of five. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/41624
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
auth | Loading commit data... | |
background_migration | Loading commit data... | |
badge | Loading commit data... | |
bare_repository_import | Loading commit data... | |
bitbucket_import | Loading commit data... | |
cache | Loading commit data... | |
checks | Loading commit data... | |
ci | Loading commit data... | |
conflict | Loading commit data... | |
cycle_analytics | Loading commit data... | |
data_builder | Loading commit data... | |
database | Loading commit data... | |
dependency_linker | Loading commit data... | |
diff | Loading commit data... | |
downtime_check | Loading commit data... | |
Loading commit data... | ||
etag_caching | Loading commit data... | |
fogbugz_import | Loading commit data... | |
gfm | Loading commit data... | |
git | Loading commit data... | |
gitaly_client | Loading commit data... | |
github_import | Loading commit data... | |
gitlab_import | Loading commit data... | |
google_code_import | Loading commit data... | |
gpg | Loading commit data... | |
grape_logging/formatters | Loading commit data... | |
graphs | Loading commit data... | |
health_checks | Loading commit data... | |
hook_data | Loading commit data... | |
i18n | Loading commit data... | |
import_export | Loading commit data... | |
kubernetes | Loading commit data... | |
ldap | Loading commit data... | |
legacy_github_import | Loading commit data... | |
metrics | Loading commit data... | |
middleware | Loading commit data... | |
o_auth | Loading commit data... | |
performance_bar | Loading commit data... | |
project_authorizations | Loading commit data... | |
prometheus | Loading commit data... | |
quick_actions | Loading commit data... | |
redis | Loading commit data... | |
request_profiler | Loading commit data... | |
saml | Loading commit data... | |
sanitizers | Loading commit data... | |
serializer | Loading commit data... | |
sherlock | Loading commit data... | |
sidekiq_middleware | Loading commit data... | |
sidekiq_status | Loading commit data... | |
sidekiq_versioning | Loading commit data... | |
slash_commands | Loading commit data... | |
sql | Loading commit data... | |
storage_check | Loading commit data... | |
template | Loading commit data... | |
testing | Loading commit data... | |
utils | Loading commit data... | |
view/presenter | Loading commit data... | |
access.rb | Loading commit data... | |
action_rate_limiter.rb | Loading commit data... | |
allowable.rb | Loading commit data... | |
app_logger.rb | Loading commit data... | |
asciidoc.rb | Loading commit data... | |
auth.rb | Loading commit data... | |
background_migration.rb | Loading commit data... | |
blame.rb | Loading commit data... | |
changes_list.rb | Loading commit data... | |
chat_name_token.rb | Loading commit data... | |
ci_access.rb | Loading commit data... | |
closing_issue_extractor.rb | Loading commit data... | |
color_schemes.rb | Loading commit data... | |
config_helper.rb | Loading commit data... | |
contributions_calendar.rb | Loading commit data... | |
contributor.rb | Loading commit data... | |
current_settings.rb | Loading commit data... | |
daemon.rb | Loading commit data... | |
database.rb | Loading commit data... | |
dependency_linker.rb | Loading commit data... | |
downtime_check.rb | Loading commit data... | |
ee_compat_check.rb | Loading commit data... | |
emoji.rb | Loading commit data... | |
encoding_helper.rb | Loading commit data... | |
environment.rb | Loading commit data... | |
environment_logger.rb | Loading commit data... | |
exclusive_lease.rb | Loading commit data... | |
fake_application_settings.rb | Loading commit data... | |
file_detector.rb | Loading commit data... | |
file_finder.rb | Loading commit data... | |
git.rb | Loading commit data... | |
git_access.rb | Loading commit data... | |
git_access_wiki.rb | Loading commit data... | |
git_logger.rb | Loading commit data... | |
git_post_receive.rb | Loading commit data... | |
git_ref_validator.rb | Loading commit data... | |
gitaly_client.rb | Loading commit data... | |
github_import.rb | Loading commit data... | |
gl_id.rb | Loading commit data... | |
gl_repository.rb | Loading commit data... | |
gon_helper.rb | Loading commit data... | |
gpg.rb | Loading commit data... | |
group_hierarchy.rb | Loading commit data... | |
highlight.rb | Loading commit data... | |
i18n.rb | Loading commit data... | |
identifier.rb | Loading commit data... | |
import_export.rb | Loading commit data... | |
import_formatter.rb | Loading commit data... | |
import_sources.rb | Loading commit data... | |
incoming_email.rb | Loading commit data... | |
issuable_metadata.rb | Loading commit data... | |
issuable_sorter.rb | Loading commit data... | |
issuables_count_for_state.rb | Loading commit data... | |
issues_labels.rb | Loading commit data... | |
job_waiter.rb | Loading commit data... | |
kubernetes.rb | Loading commit data... | |
lazy.rb | Loading commit data... | |
lfs_token.rb | Loading commit data... | |
logger.rb | Loading commit data... | |
mail_room.rb | Loading commit data... | |
markup_helper.rb | Loading commit data... | |
metrics.rb | Loading commit data... | |
multi_collection_paginator.rb | Loading commit data... | |
optimistic_locking.rb | Loading commit data... | |
other_markup.rb | Loading commit data... | |
otp_key_rotator.rb | Loading commit data... | |
pages.rb | Loading commit data... | |
pages_transfer.rb | Loading commit data... | |
path_regex.rb | Loading commit data... | |
performance_bar.rb | Loading commit data... | |
polling_interval.rb | Loading commit data... | |
popen.rb | Loading commit data... | |
project_search_results.rb | Loading commit data... | |
project_template.rb | Loading commit data... | |
project_transfer.rb | Loading commit data... | |
prometheus_client.rb | Loading commit data... | |
protocol_access.rb | Loading commit data... | |
recaptcha.rb | Loading commit data... | |
reference_counter.rb | Loading commit data... | |
reference_extractor.rb | Loading commit data... | |
regex.rb | Loading commit data... | |
repo_path.rb | Loading commit data... | |
repository_check_logger.rb | Loading commit data... | |
request_context.rb | Loading commit data... | |
request_forgery_protection.rb | Loading commit data... | |
request_profiler.rb | Loading commit data... | |
route_map.rb | Loading commit data... | |
routing.rb | Loading commit data... | |
search_results.rb | Loading commit data... | |
seeder.rb | Loading commit data... | |
sentry.rb | Loading commit data... | |
setup_helper.rb | Loading commit data... | |
shell.rb | Loading commit data... | |
shell_adapter.rb | Loading commit data... | |
sherlock.rb | Loading commit data... | |
sidekiq_config.rb | Loading commit data... | |
sidekiq_logger.rb | Loading commit data... | |
sidekiq_status.rb | Loading commit data... | |
sidekiq_throttler.rb | Loading commit data... | |
sidekiq_versioning.rb | Loading commit data... | |
snippet_search_results.rb | Loading commit data... | |
ssh_public_key.rb | Loading commit data... | |
storage_check.rb | Loading commit data... | |
string_range_marker.rb | Loading commit data... | |
string_regex_marker.rb | Loading commit data... | |
tcp_checker.rb | Loading commit data... | |
themes.rb | Loading commit data... | |
time_tracking_formatter.rb | Loading commit data... | |
timeless.rb | Loading commit data... | |
untrusted_regexp.rb | Loading commit data... | |
update_path_error.rb | Loading commit data... | |
upgrader.rb | Loading commit data... | |
uploads_transfer.rb | Loading commit data... | |
url_blocker.rb | Loading commit data... | |
url_builder.rb | Loading commit data... | |
url_sanitizer.rb | Loading commit data... | |
usage_data.rb | Loading commit data... | |
user_access.rb | Loading commit data... | |
user_activities.rb | Loading commit data... | |
utils.rb | Loading commit data... | |
version_info.rb | Loading commit data... | |
visibility_level.rb | Loading commit data... | |
workhorse.rb | Loading commit data... |