Gehel has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/342043 )

Change subject: elasticsearch - make size of bulk executor configureable
......................................................................

elasticsearch - make size of bulk executor configureable

As deployment-prep is sized smaller, we need some customization.

Change-Id: I8fe04e77215383cf31b8f3690b24d39acb549640
---
M hieradata/labs/deployment-prep/common.yaml
M modules/role/manifests/elasticsearch/common.pp
2 files changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/43/342043/1

diff --git a/hieradata/labs/deployment-prep/common.yaml 
b/hieradata/labs/deployment-prep/common.yaml
index 4009b6d..2b9e6f7 100644
--- a/hieradata/labs/deployment-prep/common.yaml
+++ b/hieradata/labs/deployment-prep/common.yaml
@@ -192,6 +192,7 @@
 "elasticsearch::minimum_master_nodes": 2
 "elasticsearch::heap_memory": 4G
 "elasticsearch::recover_after_nodes": 3
+"elasticsearch::bulk_thread_pool_executors": 5
 "elasticsearch::statsd_host": labmon1001.eqiad.wmnet
 "elasticsearch::unicast_hosts":
     - deployment-elastic05
diff --git a/modules/role/manifests/elasticsearch/common.pp 
b/modules/role/manifests/elasticsearch/common.pp
index e816d08..c2195b5 100644
--- a/modules/role/manifests/elasticsearch/common.pp
+++ b/modules/role/manifests/elasticsearch/common.pp
@@ -81,7 +81,7 @@
         auto_create_index          => '+apifeatureusage-*,-*',
         # Production can get a lot of use out of the filter cache.
         filter_cache_size          => '20%',
-        bulk_thread_pool_executors => 6,
+        bulk_thread_pool_executors => 
hiera('elasticsearch::bulk_thread_pool_executors', 5),
         bulk_thread_pool_capacity  => 1000,
     }
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8fe04e77215383cf31b8f3690b24d39acb549640
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Gehel <guillaume.leder...@wikimedia.org>

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

Reply via email to