gitlab-ce/db/docs/bulk_import_failures.yml

41 lines
1.1 KiB
YAML

---
table_name: bulk_import_failures
classes:
- BulkImports::Failure
feature_categories:
- importers
description: Used to store failures that occur during the migration of groups or projects
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/47526
milestone: '13.7'
table_size: small
gitlab_schema: gitlab_main_cell
desired_sharding_key:
project_id:
references: projects
backfill_via:
parent:
foreign_key: bulk_import_entity_id
table: bulk_import_entities
sharding_key: project_id
belongs_to: entity
namespace_id:
references: namespaces
backfill_via:
parent:
foreign_key: bulk_import_entity_id
table: bulk_import_entities
sharding_key: namespace_id
belongs_to: entity
organization_id:
references: organizations
backfill_via:
parent:
foreign_key: bulk_import_entity_id
table: bulk_import_entities
sharding_key: organization_id
belongs_to: entity
desired_sharding_key_migration_job_name:
- BackfillBulkImportFailuresProjectId
- BackfillBulkImportFailuresNamespaceId
- BackfillBulkImportFailuresOrganizationId