Volans has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/345298 )
Change subject: Fix database selection in tendril task
......................................................................
Fix database selection in tendril task
Bug: T160178
Change-Id: I7d40de372c3a01d72ce88b68ff11136860d887ed
---
M switchdc/stages/t09_tendril.py
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/switchdc
refs/changes/98/345298/1
diff --git a/switchdc/stages/t09_tendril.py b/switchdc/stages/t09_tendril.py
index e81652f..26cd7c7 100644
--- a/switchdc/stages/t09_tendril.py
+++ b/switchdc/stages/t09_tendril.py
@@ -19,7 +19,7 @@
master = remote.hosts[0]
commands.append(mysql.get_query_command(
- ("UPDATE shards SET master_id = (SELECT id FROM servers WHERE host
= '{master}') WHERE"
+ ("UPDATE tendril.shards SET master_id = (SELECT id FROM
tendril.servers WHERE host = '{master}') WHERE"
"name = '{shard}'").format(master=master, shard=shard)))
tendril.sync(*commands)
--
To view, visit https://gerrit.wikimedia.org/r/345298
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7d40de372c3a01d72ce88b68ff11136860d887ed
Gerrit-PatchSet: 1
Gerrit-Project: operations/switchdc
Gerrit-Branch: master
Gerrit-Owner: Volans <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits