Skip to content

Migration helpers to finalize partitioning migration

Patrick Bair requested to merge 218428-finalize-partitioning-migration into master

What does this MR do?

Relates to: #229903 (closed)

Adds a new migration helper to run the post-background migration cleanup for partitioning migrations. This works similarly to any background migration:

  1. Steal scheduled jobs that have not yet run
  2. Perform final data cleanup due to jobs that may have dropped/failed

only in a more generic fashion to be used for partitioning any table. Additionally, VACUUM the partitioned table as discussed here: !35201 (comment 378514772)

The final steps of the migration (actually using the partitioned table) for after this MR are tracked here: #241267 (closed)

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Mayra Cabrera

Merge request reports