Manybubbles has uploaded a new change for review.

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

Change subject: Disable dynamic scripting in Elasticsearch
......................................................................

Disable dynamic scripting in Elasticsearch

and fix some out of date settings describing the cluster size and fix some
comments.

Change-Id: I36fbbc078db3dcace953dc99ec1122a2abb2fc19
---
M hieradata/role/common/elasticsearch/server.yaml
1 file changed, 7 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/51/224651/1

diff --git a/hieradata/role/common/elasticsearch/server.yaml 
b/hieradata/role/common/elasticsearch/server.yaml
index d903cf9..7b9a321 100644
--- a/hieradata/role/common/elasticsearch/server.yaml
+++ b/hieradata/role/common/elasticsearch/server.yaml
@@ -16,22 +16,24 @@
 elasticsearch::cluster_name: production-search-eqiad
 # More than 30G isn't very useful
 elasticsearch::heap_memory: '30G'
-# Production elasticsearch needs these plugins to be loaded in order
+# CirrusSearch needs these plugins to be loaded in order
 # to work properly.  This will keep elasticsearch from starting
 # if these plugins are  not available.
 elasticsearch::plugins_mandatory:
   - 'experimental highlighter'
   - 'analysis-icu'
+  - 'wikimedia-extra'
 # We expect 31 nodes total
 elasticsearch::expected_nodes: 31
-# We should be able to run "OK" with 11 servers.
-elasticsearch::recover_after_nodes: 11
+# We should be able to run "OK" with 20 servers.
+elasticsearch::recover_after_nodes: 20
 # But it'd save time if we just waited for all of them to come back so
 # lets give them plenty of time to restart.
 elasticsearch::recover_after_time: '20m'
 # Production can get a lot of use out of the filter cache.
 elasticsearch::filter_cache_size: "20%"
+# We overuse bulk requests in Cirrus - every request is a bulk request.
+# Its simpler - just one code path. Anyway we should treat these more
+# like regular index requests and these settings do that.
 elasticsearch::bulk_thread_pool_capacity: 1000
 elasticsearch::bulk_thread_pool_executors: 6
-# Enable dynamic scripting
-elasticsearch::script_disable_dynamic: false

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I36fbbc078db3dcace953dc99ec1122a2abb2fc19
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Manybubbles <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to