Skip to content

Fully shard redirect_routes

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

This issue is a continuation of #514146 (closed)

Milestone 18.3

Milestone 18.5 (required stop)

Milestone 18.6

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