You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Followup to, and a bit of an oversight of #13927. Migrations that have been cancelled may have artifacts (specifically ALTER TABLE migrations will have artifacts if cancelled after starting).
The migration cleanup mechanism does not collect artifacts of cancelled migrations; only of completed and failed migrations, as per:
Overview of the Issue
Followup to, and a bit of an oversight of #13927. Migrations that have been
cancelled
may have artifacts (specificallyALTER TABLE
migrations will have artifacts if cancelled after starting).The migration cleanup mechanism does not collect artifacts of
cancelled
migrations; only ofcompleted
andfailed
migrations, as per:vitess/go/vt/vttablet/onlineddl/schema.go
Lines 343 to 354 in a8f601d
#13928 fixed
completed_timestamp
to ensure it's notnull
, but that was not enough, we should also have updatedsqlSelectUncollectedArtifacts
.Reproduction Steps
Cancel a
vitess
ALTER TABLE
migration halfway through.Binary Version
Operating System and Environment details
Log Fragments
No response
The text was updated successfully, but these errors were encountered: