BryanDavis has uploaded a new change for review. https://gerrit.wikimedia.org/r/115204
Change subject: logstash: Increase shard replica count ...................................................................... logstash: Increase shard replica count Increase the shard replica count from 1 to 2 for new indices created based on the logstash index template. This should help avoid data loss in the case of a cluster split brain event at the cost of a 33% increase in disk space utilization across the cluster. At current log volume and index retention duration this should not be an issue. This change has already been applied to the cluster and will take effect on indices created on or after 2014-02-25. Change-Id: I5e9fdde164eee27e43cac57ad56ad20ed04b1dae --- M modules/logstash/files/elasticsearch-template.json 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/04/115204/1 diff --git a/modules/logstash/files/elasticsearch-template.json b/modules/logstash/files/elasticsearch-template.json index 04f6896..f288f16 100644 --- a/modules/logstash/files/elasticsearch-template.json +++ b/modules/logstash/files/elasticsearch-template.json @@ -2,10 +2,10 @@ "template" : "logstash-*", "settings" : { "number_of_shards" : 1, - "number_of_replicas" : 1, + "number_of_replicas" : 2, "index.cache.field.type" : "soft", "index.refresh_interval" : "5s", - "index.routing.allocation.total_shards_per_node" : 2, + "index.routing.allocation.total_shards_per_node" : 1, "analysis" : { "analyzer" : { "default" : { -- To view, visit https://gerrit.wikimedia.org/r/115204 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I5e9fdde164eee27e43cac57ad56ad20ed04b1dae Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: BryanDavis <bda...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits