Skip to content

Commit 1a76c04

Browse files
author
Shlomi Noach
authored
Merge pull request #281 from akshaychhajed/tungsten-check
Modified slave update check to test tungsten flag
2 parents 038ee80 + 559c789 commit 1a76c04

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

go/logic/inspect.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ func (this *Inspector) validateLogSlaveUpdates() error {
327327
if err := this.db.QueryRow(query).Scan(&logSlaveUpdates); err != nil {
328328
return err
329329
}
330-
if !logSlaveUpdates && !this.migrationContext.InspectorIsAlsoApplier() {
330+
if !logSlaveUpdates && !this.migrationContext.InspectorIsAlsoApplier() && !this.migrationContext.IsTungsten {
331331
return fmt.Errorf("%s:%d must have log_slave_updates enabled", this.connectionConfig.Key.Hostname, this.connectionConfig.Key.Port)
332332
}
333333

0 commit comments

Comments
 (0)