[MediaWiki-commits] [Gerrit] Added some jobqueue comments - change (operations/mediawiki-config)

2016-03-08 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged.

Change subject: Added some jobqueue comments
..


Added some jobqueue comments

Change-Id: I02c8f88f6b2c3d0cc4f4fea26bb5c53c43b118c3
---
M wmf-config/jobqueue-codfw.php
M wmf-config/jobqueue-eqiad.php
2 files changed, 5 insertions(+), 1 deletion(-)

Approvals:
  Gilles: Looks good to me, but someone else must approve
  MaxSem: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/wmf-config/jobqueue-codfw.php b/wmf-config/jobqueue-codfw.php
index 136b041..d79ef9e 100644
--- a/wmf-config/jobqueue-codfw.php
+++ b/wmf-config/jobqueue-codfw.php
@@ -9,6 +9,7 @@
 // the MediaWiki config to direct traffic there.
 $wgJobTypeConf['default'] = array(
'class'   => 'JobQueueFederated',
+   // Do NOT remove entries from here if they are still present in 
'partitionsBySection'
'configByPartition'   => array(
'rdb1' => array(
'class'   => 'JobQueueRedis',
@@ -34,6 +35,7 @@
),
),
'sectionsByWiki'  => array(), // default
+   // Weights for partitions in use: use this to depool redis masters
'partitionsBySection' => array(
'default' => array( 'rdb1' => 50, 'rdb2' => 50 ),
)
diff --git a/wmf-config/jobqueue-eqiad.php b/wmf-config/jobqueue-eqiad.php
index 4229719..ee91b11 100644
--- a/wmf-config/jobqueue-eqiad.php
+++ b/wmf-config/jobqueue-eqiad.php
@@ -22,6 +22,7 @@
 // the MediaWiki config to direct traffic there.
 $wgJobTypeConf['default'] = array(
'class' => 'JobQueueFederated',
+   // Do NOT remove entries from here if they are still present in 
'partitionsBySection'
'configByPartition' => array(
# rdb 1
 
@@ -84,7 +85,8 @@
) + $wmgRedisQueueBaseConfig,
),
'sectionsByWiki' => array(), // default
-   'partitionsBySection' => array( // weights for partitions in use
+   // Weights for partitions in use: use this to depool redis masters
+   'partitionsBySection' => array(
'default' => array(
'rdb1-6379' => 50,
'rdb1-6380' => 50,

-- 
To view, visit https://gerrit.wikimedia.org/r/275378
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I02c8f88f6b2c3d0cc4f4fea26bb5c53c43b118c3
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz 
Gerrit-Reviewer: Elukey 
Gerrit-Reviewer: Florianschmidtwelzow 
Gerrit-Reviewer: Gilles 
Gerrit-Reviewer: MaxSem 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Added some jobqueue comments - change (operations/mediawiki-config)

2016-03-07 Thread Aaron Schulz (Code Review)
Aaron Schulz has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/275378

Change subject: Added some jobqueue comments
..

Added some jobqueue comments

Change-Id: I02c8f88f6b2c3d0cc4f4fea26bb5c53c43b118c3
---
M wmf-config/jobqueue-codfw.php
M wmf-config/jobqueue-eqiad.php
2 files changed, 5 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/78/275378/1

diff --git a/wmf-config/jobqueue-codfw.php b/wmf-config/jobqueue-codfw.php
index 136b041..d79ef9e 100644
--- a/wmf-config/jobqueue-codfw.php
+++ b/wmf-config/jobqueue-codfw.php
@@ -9,6 +9,7 @@
 // the MediaWiki config to direct traffic there.
 $wgJobTypeConf['default'] = array(
'class'   => 'JobQueueFederated',
+   // Do NOT remove entries from here if they are still present in 
'partitionsBySection'
'configByPartition'   => array(
'rdb1' => array(
'class'   => 'JobQueueRedis',
@@ -34,6 +35,7 @@
),
),
'sectionsByWiki'  => array(), // default
+   // Weights for partitions in use: use this to depool redis masters
'partitionsBySection' => array(
'default' => array( 'rdb1' => 50, 'rdb2' => 50 ),
)
diff --git a/wmf-config/jobqueue-eqiad.php b/wmf-config/jobqueue-eqiad.php
index 4229719..ee91b11 100644
--- a/wmf-config/jobqueue-eqiad.php
+++ b/wmf-config/jobqueue-eqiad.php
@@ -22,6 +22,7 @@
 // the MediaWiki config to direct traffic there.
 $wgJobTypeConf['default'] = array(
'class' => 'JobQueueFederated',
+   // Do NOT remove entries from here if they are still present in 
'partitionsBySection'
'configByPartition' => array(
# rdb 1
 
@@ -84,7 +85,8 @@
) + $wmgRedisQueueBaseConfig,
),
'sectionsByWiki' => array(), // default
-   'partitionsBySection' => array( // weights for partitions in use
+   // Weights for partitions in use: use this to depool redis masters
+   'partitionsBySection' => array(
'default' => array(
'rdb1-6379' => 50,
'rdb1-6380' => 50,

-- 
To view, visit https://gerrit.wikimedia.org/r/275378
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I02c8f88f6b2c3d0cc4f4fea26bb5c53c43b118c3
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits