Add specs and handle :primary lb name
DB Rake tasks would establish a db connection with `name: primary`. As seen in https://github.com/rails/rails/blob/v7.0.8.4/activerecord/lib/active_record/tasks/postgresql_database_tasks.rb#L97
显示
- app/models/application_record.rb 1 个添加, 1 个删除app/models/application_record.rb
- app/models/ci/runner.rb 1 个添加, 1 个删除app/models/ci/runner.rb
- app/models/ci/runner_manager.rb 1 个添加, 1 个删除app/models/ci/runner_manager.rb
- app/models/concerns/packages/downloadable.rb 1 个添加, 1 个删除app/models/concerns/packages/downloadable.rb
- app/models/concerns/use_sql_function_for_primary_key_lookups.rb 1 个添加, 1 个删除...dels/concerns/use_sql_function_for_primary_key_lookups.rb
- app/models/concerns/users/visitable.rb 2 个添加, 1 个删除app/models/concerns/users/visitable.rb
- app/models/internal_id.rb 1 个添加, 1 个删除app/models/internal_id.rb
- app/models/project.rb 2 个添加, 1 个删除app/models/project.rb
- app/models/sent_notification.rb 1 个添加, 1 个删除app/models/sent_notification.rb
- app/services/ci/click_house/data_ingestion/finished_pipelines_sync_service.rb 1 个添加, 1 个删除...k_house/data_ingestion/finished_pipelines_sync_service.rb
- app/services/ci/register_job_service.rb 1 个添加, 1 个删除app/services/ci/register_job_service.rb
- app/services/issuable_base_service.rb 1 个添加, 1 个删除app/services/issuable_base_service.rb
- app/services/personal_access_tokens/last_used_service.rb 2 个添加, 1 个删除app/services/personal_access_tokens/last_used_service.rb
- app/services/users/activity_service.rb 2 个添加, 1 个删除app/services/users/activity_service.rb
- app/workers/authorized_project_update/user_refresh_from_replica_worker.rb 3 个添加, 1 个删除...orized_project_update/user_refresh_from_replica_worker.rb
- app/workers/container_expiration_policies/cleanup_container_repository_worker.rb 3 个添加, 1 个删除...xpiration_policies/cleanup_container_repository_worker.rb
- app/workers/container_expiration_policy_worker.rb 3 个添加, 1 个删除app/workers/container_expiration_policy_worker.rb
- app/workers/dependency_proxy/image_ttl_group_policy_worker.rb 3 个添加, 1 个删除...workers/dependency_proxy/image_ttl_group_policy_worker.rb
- app/workers/packages/cleanup_package_registry_worker.rb 3 个添加, 1 个删除app/workers/packages/cleanup_package_registry_worker.rb
- config/feature_flags/gitlab_com_derisk/use_load_balancing_session_map.yml 9 个添加, 0 个删除...lags/gitlab_com_derisk/use_load_balancing_session_map.yml
加载中
想要评论请 注册 或 登录