Skip to content

Commit e4bb70d

Browse files
committed
Use change from outbrain/golib PR
1 parent 3b21f4d commit e4bb70d

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

go/logic/migrator.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import (
2020
"github.com/github/gh-ost/go/sql"
2121

2222
"github.com/outbrain/golib/log"
23+
"github.com/outbrain/golib/sqlutils"
2324
)
2425

2526
type ChangelogState string
@@ -1225,6 +1226,7 @@ func (this *Migrator) finalCleanup() error {
12251226
this.finishedMigrating = true
12261227
this.applier.FinalCleanup()
12271228
this.eventsStreamer.FinalCleanup()
1229+
sqlutils.ResetDBCache()
12281230

12291231
return nil
12301232
}

vendor/github.com/outbrain/golib/sqlutils/sqlutils.go

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)