From 559c7895ca186551f7da6d5f5ed1fe057129f9f0 Mon Sep 17 00:00:00 2001 From: Akshay Chhajed Date: Wed, 19 Oct 2016 23:31:16 +0530 Subject: [PATCH] Modified slave update check to test tungsten flag --- go/logic/inspect.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/logic/inspect.go b/go/logic/inspect.go index 1b6f7f0..ceb5c16 100644 --- a/go/logic/inspect.go +++ b/go/logic/inspect.go @@ -327,7 +327,7 @@ func (this *Inspector) validateLogSlaveUpdates() error { if err := this.db.QueryRow(query).Scan(&logSlaveUpdates); err != nil { return err } - if !logSlaveUpdates && !this.migrationContext.InspectorIsAlsoApplier() { + if !logSlaveUpdates && !this.migrationContext.InspectorIsAlsoApplier() && !this.migrationContext.IsTungsten { return fmt.Errorf("%s:%d must have log_slave_updates enabled", this.connectionConfig.Key.Hostname, this.connectionConfig.Key.Port) }