From 0cdd9bb961b672d6128771792473e4fcfae6a651 Mon Sep 17 00:00:00 2001 From: "Ariel T. Glenn" Date: Tue, 22 Oct 2013 21:23:02 +0300 Subject: [PATCH] xml dump maintenance scripts should use the 'dump' db group Change-Id: I25476310e30fba92df1b7af6c4cf7db7a5775681 --- maintenance/backup.inc | 2 +- maintenance/backupTextPass.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/maintenance/backup.inc b/maintenance/backup.inc index 3dc94c889b..64078b49e6 100644 --- a/maintenance/backup.inc +++ b/maintenance/backup.inc @@ -276,7 +276,7 @@ class BackupDumper { } $this->lb = wfGetLBFactory()->newMainLB(); - $db = $this->lb->getConnection( DB_SLAVE, 'backup' ); + $db = $this->lb->getConnection( DB_SLAVE, 'dump' ); // Discourage the server from disconnecting us if it takes a long time // to read out the big ol' batch query. diff --git a/maintenance/backupTextPass.inc b/maintenance/backupTextPass.inc index c515c6fec9..8fdb958eee 100644 --- a/maintenance/backupTextPass.inc +++ b/maintenance/backupTextPass.inc @@ -126,7 +126,7 @@ class TextPassDumper extends BackupDumper { // 2. The Connection, through the load balancer. try { - $this->db = $this->lb->getConnection( DB_SLAVE, 'backup' ); + $this->db = $this->lb->getConnection( DB_SLAVE, 'dump' ); } catch ( Exception $e ) { throw new MWException( __METHOD__ . " rotating DB failed to obtain new database (" . $e->getMessage() . ")" ); } -- 2.20.1