jenkins-bot has submitted this change and it was merged.
Change subject: Cirrus config updates
......................................................................
Cirrus config updates
* Lower replicas for commonwiki's file namespace to 1 to save some space
until we work out a way to shrink it without losing redundancy.
* Turn on enwiki in secondary search aka building mode.
* Lower replicas for all enwiki namespaces to 1 to same some space until
we work out a way to shrink it without losing redundancy.
Change-Id: I17a5cc073d592fd39fcd1fa8f505c9f4aa77d88d
---
M wmf-config/CirrusSearch-common.php
M wmf-config/InitialiseSettings.php
2 files changed, 15 insertions(+), 2 deletions(-)
Approvals:
Chad: Looks good to me, approved
jenkins-bot: Verified
diff --git a/wmf-config/CirrusSearch-common.php
b/wmf-config/CirrusSearch-common.php
index 223b279..4ccde68 100644
--- a/wmf-config/CirrusSearch-common.php
+++ b/wmf-config/CirrusSearch-common.php
@@ -40,7 +40,10 @@
// Commons is special
if ( $wgDBname == 'commonswiki' ) {
$wgCirrusSearchNamespaceMappings[ NS_FILE ] = 'file';
- $wgCirrusSearchReplicaCount['file'] = 2;
+
+ // Temporarily lower redundancy for commonswiki's file namespace to
save some space.
+ // Should be $wgCirrusSearchReplicaCount['file'] = 2;
+ $wgCirrusSearchReplicaCount['file'] = 1;
// So is everyone else, for using commons
}
// Temporarily disabled until we've deployed the fix for
@@ -49,6 +52,12 @@
// $wgCirrusSearchExtraIndexes[ NS_FILE ] = array( 'commonswiki_file' );
//}
+
+// Temporarily lower redundancy for enwiki to save some space.
+if ( $wgDBName == 'enwiki' ) {
+ $wgCirrusSearchReplicaCount = array( 'content' => 1, 'general' => 1 );
+}
+
# Load per realm specific configuration, either:
# - CirrusSearch-labs.php
# - CirrusSearch-production.php
diff --git a/wmf-config/InitialiseSettings.php
b/wmf-config/InitialiseSettings.php
index 1ed02f4..252096f 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -12684,6 +12684,7 @@
'commonswiki' => true,
'dewiki' => true,
'elwiki' => true,
+ 'enwiki' => true,
'eswiki' => true,
'frwiki' => true,
'guwiki' => true,
@@ -12700,6 +12701,7 @@
'wmgCirrusIsBuilding' => array(
'default' => false,
+ 'enwiki' => true,
),
'wmgCirrusSearchPreferRecentDefaultDecayPortion' => array(
@@ -12727,9 +12729,11 @@
// Commons is special and has a 'file' index in addition to the regular
ones.
// File has shards at ~6GB each even with 20 of them.
'commonswiki' => array( 'content' => 1, 'general' => 20, 'file' => 20 ),
- 'dewiki' => array( 'content' => 9, 'general' => 6 ), //
Estimated before deployment
+ 'dewiki' => array( 'content' => 15, 'general' => 13 ),
'dewikisource' => array( 'content' => 2, 'general' => 1 ),
'elwiki' => array( 'content' => 2, 'general' => 1 ),
+ // These shards are also signigicantly larger than the target 2GB.
+ 'enwiki' => array( 'content' => 20, 'general' => 20 ),
'enwikinews' => array( 'content' => 1, 'general' => 3 ),
'enwikisource' => array( 'content' => 12, 'general' => 1 ),
'enwiktionary' => array( 'content' => 4, 'general' => 1 ),
--
To view, visit https://gerrit.wikimedia.org/r/107108
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I17a5cc073d592fd39fcd1fa8f505c9f4aa77d88d
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Manybubbles <[email protected]>
Gerrit-Reviewer: Chad <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits