Faidon Liambotis has submitted this change and it was merged.
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, 1 insertion(+), 2 deletions(-)
Approvals:
Faidon Liambotis: Looks good to me, approved
jenkins-bot: Verified
diff --git a/modules/logstash/files/elasticsearch-template.json
b/modules/logstash/files/elasticsearch-template.json
index 04f6896..a3842dc 100644
--- a/modules/logstash/files/elasticsearch-template.json
+++ b/modules/logstash/files/elasticsearch-template.json
@@ -2,10 +2,9 @@
"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,
"analysis" : {
"analyzer" : {
"default" : {
--
To view, visit https://gerrit.wikimedia.org/r/115204
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I5e9fdde164eee27e43cac57ad56ad20ed04b1dae
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: BryanDavis <[email protected]>
Gerrit-Reviewer: BryanDavis <[email protected]>
Gerrit-Reviewer: Faidon Liambotis <[email protected]>
Gerrit-Reviewer: Manybubbles <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits