зеркало из https://github.com/github/vitess-gh.git
migrater: address review comments
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
This commit is contained in:
Родитель
17ca09d713
Коммит
92e5665c1e
|
@ -176,7 +176,7 @@ func (wr *Wrangler) MigrateWrites(ctx context.Context, targetKeyspace, workflow
|
||||||
defer targetUnlock(&err)
|
defer targetUnlock(&err)
|
||||||
}
|
}
|
||||||
|
|
||||||
// If not journals exist, sourceWorkflows will be initialized by sm.MigrateStreams.
|
// If no journals exist, sourceWorkflows will be initialized by sm.MigrateStreams.
|
||||||
journalsExist, sourceWorkflows, err := mi.checkJournals(ctx)
|
journalsExist, sourceWorkflows, err := mi.checkJournals(ctx)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
mi.wr.Logger().Errorf("checkJournals failed: %v", err)
|
mi.wr.Logger().Errorf("checkJournals failed: %v", err)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче