Skip to content

Commit

Permalink
Merge branch 'master' into meiji163/parallel-repl
Browse files Browse the repository at this point in the history
  • Loading branch information
meiji163 authored Nov 18, 2024
2 parents 0a8787e + a6ccd3f commit 6aaa374
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions go/logic/migrator.go
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,9 @@ func (this *Migrator) Migrate() (err error) {
} else {
this.migrationContext.Log.Infof("Attempting to execute alter with ALGORITHM=INSTANT")
if err := this.applier.AttemptInstantDDL(); err == nil {
if err := this.hooksExecutor.onSuccess(); err != nil {
return err
}
this.migrationContext.Log.Infof("Success! table %s.%s migrated instantly", sql.EscapeName(this.migrationContext.DatabaseName), sql.EscapeName(this.migrationContext.OriginalTableName))
return nil
} else {
Expand Down

0 comments on commit 6aaa374

Please sign in to comment.