gitlab-org--gitlab-foss/spec/models
Nick Thomas 034f0340a3
Don't use the redis set cache yet
For zero-downtime deployed in a mixed code environment between 12.2 and
12.3, the branch and tag name cache is incorrectly invalidated - a push
to an old machine will not clear the redis set version of the cache on
the new machine.

This commit ensures that, in 12.3, both set and non-set versions of the
cache are invalidated, but does not write or consult the set version of
the cache. . In 12.4, it will be safe to switch branch and tag names to
the redis set cache both it and the legacy cache will be invalidated
appropriately in such a mixed code environment.

This delays the full implementation of the feature by one release, but
in the absence of a credible feature-flagging strategy, and amidst an
abundance of caution about the effects of too-eager cache expiration, I
believe this is the best approach available to us.
2019-09-10 14:33:51 +01:00
..
analytics/cycle_analytics
application_setting
badges
blob_viewer
ci
clusters
concerns
conversational_development_index
cycle_analytics
diff_viewer
error_tracking
hooks
issue
members
merge_request
namespace
network
postgresql
project_services
protected_branch
releases
serverless
uploads
ability_spec.rb
abuse_report_spec.rb
active_session_spec.rb
appearance_spec.rb
application_record_spec.rb
application_setting_spec.rb
award_emoji_spec.rb
badge_spec.rb
blob_spec.rb
board_group_recent_visit_spec.rb
board_project_recent_visit_spec.rb
board_spec.rb
broadcast_message_spec.rb
chat_name_spec.rb
chat_team_spec.rb
commit_collection_spec.rb
commit_range_spec.rb
commit_spec.rb
commit_status_spec.rb
compare_spec.rb
container_repository_spec.rb
deploy_key_spec.rb
deploy_keys_project_spec.rb
deploy_token_spec.rb
deployment_metrics_spec.rb
deployment_spec.rb
diff_discussion_spec.rb
diff_note_spec.rb
discussion_spec.rb
email_spec.rb
environment_spec.rb
environment_status_spec.rb
event_collection_spec.rb
event_spec.rb
external_issue_spec.rb
external_pull_request_spec.rb
fork_network_member_spec.rb
fork_network_spec.rb
generic_commit_status_spec.rb
global_milestone_spec.rb
gpg_key_spec.rb
gpg_key_subkey_spec.rb
gpg_signature_spec.rb
group_custom_attribute_spec.rb
group_label_spec.rb
group_milestone_spec.rb
group_spec.rb
guest_spec.rb
identity_spec.rb
import_export_upload_spec.rb
instance_configuration_spec.rb
internal_id_spec.rb
issue_collection_spec.rb
issue_spec.rb
key_spec.rb
label_link_spec.rb
label_note_spec.rb
label_priority_spec.rb
label_spec.rb
legacy_diff_discussion_spec.rb
lfs_download_object_spec.rb
lfs_file_lock_spec.rb
lfs_object_spec.rb
lfs_objects_project_spec.rb
license_template_spec.rb
list_spec.rb
list_user_preference_spec.rb
member_spec.rb
merge_request_diff_commit_spec.rb
merge_request_diff_file_spec.rb
merge_request_diff_spec.rb
merge_request_spec.rb
milestone_release_spec.rb
milestone_spec.rb
namespace_spec.rb
note_diff_file_spec.rb
note_spec.rb
notification_recipient_spec.rb
notification_setting_spec.rb
pages_domain_acme_order_spec.rb
pages_domain_spec.rb
personal_access_token_spec.rb
pool_repository_spec.rb
programming_language_spec.rb
project_authorization_spec.rb
project_auto_devops_spec.rb
project_ci_cd_setting_spec.rb
project_custom_attribute_spec.rb
project_daily_statistic_spec.rb
project_deploy_token_spec.rb
project_feature_spec.rb
project_group_link_spec.rb
project_import_data_spec.rb
project_import_state_spec.rb
project_label_spec.rb
project_metrics_setting_spec.rb
project_repository_spec.rb
project_snippet_spec.rb
project_spec.rb
project_statistics_spec.rb
project_team_spec.rb
project_wiki_spec.rb
prometheus_metric_spec.rb
protectable_dropdown_spec.rb
protected_branch_spec.rb
protected_tag_spec.rb
push_event_payload_spec.rb
push_event_spec.rb
redirect_route_spec.rb
release_spec.rb
remote_mirror_spec.rb
repository_language_spec.rb
repository_spec.rb
resource_label_event_spec.rb
route_spec.rb
sent_notification_spec.rb
service_spec.rb
shard_spec.rb
snippet_blob_spec.rb
snippet_spec.rb
spam_log_spec.rb
ssh_host_key_spec.rb
subscription_spec.rb
suggestion_spec.rb
system_note_metadata_spec.rb
term_agreement_spec.rb
timelog_spec.rb
todo_spec.rb
tree_spec.rb
trending_project_spec.rb
upload_spec.rb
user_agent_detail_spec.rb
user_callout_spec.rb
user_custom_attribute_spec.rb
user_interacted_project_spec.rb
user_preference_spec.rb
user_spec.rb
user_status_spec.rb
wiki_directory_spec.rb
wiki_page_spec.rb