jenkins-bot has submitted this change and it was merged.
Change subject: xml dump maintenance scripts should use the 'dump' db group
......................................................................
xml dump maintenance scripts should use the 'dump' db group
Change-Id: I25476310e30fba92df1b7af6c4cf7db7a5775681
---
M maintenance/backup.inc
M maintenance/backupTextPass.inc
2 files changed, 2 insertions(+), 2 deletions(-)
Approvals:
Aaron Schulz: Looks good to me, approved
jenkins-bot: Verified
diff --git a/maintenance/backup.inc b/maintenance/backup.inc
index 3dc94c8..64078b4 100644
--- a/maintenance/backup.inc
+++ b/maintenance/backup.inc
@@ -276,7 +276,7 @@
}
$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 c515c6f..8fdb958 100644
--- a/maintenance/backupTextPass.inc
+++ b/maintenance/backupTextPass.inc
@@ -126,7 +126,7 @@
// 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() . ")" );
}
--
To view, visit https://gerrit.wikimedia.org/r/91213
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I25476310e30fba92df1b7af6c4cf7db7a5775681
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: ArielGlenn <[email protected]>
Gerrit-Reviewer: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits