Set sharding keys for feature category importers tables

What does this MR do and why?

Related to #463854 (closed)

Note: bulk_import_entities has been extracted to its own issue: #482670 (closed)

Sharding keys need to be set for the tables:

  • bulk_import_batch_trackers
  • bulk_import_configurations
  • bulk_import_export_batches
  • bulk_import_export_uploads
  • bulk_import_failures
  • bulk_import_trackers
  • import_export_uploads
  • import_failures
  • project_import_data

For some tables we've had to first remove some old data before we could create the not null constraints. These were old records which aren't needed anymore. More info here: #463854 (comment 2099946570)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Edited by Keeyan Nejad

Merge request reports

Loading