Skip to content

Fully shard bulk_import_trackers

BulkImportTrackers (# rows: https://postgres.ai/console/gitlab/gitlab-production-main/sessions/41965/commands/128839)

Milestone 18.2 (required stop)

Milestone 18.3

💥 The work to fully shard bulk_import_trackers needs to be restarted (see !188587 (comment 2651635058))

Milestone 18.5 (required stop)

Milestone 18.6

  • prepare to fully shard table -> !188587 (merged)
    • finalize the sharding key backfill
    • prepare ASYNC check constraint validation on sharding key
  • verify NOT NULL (NOT VALID) -> NOT NULL on .com following the ASYNC constraint validation
  • Fully shard table
    • validate SYNC NOT NULL sharding key
    • update db/docs/*.yml with sharding key
  • verify the NOT NULL constraint check is set on the table's sharding key on .com
Edited by Tomasz Skorupa