Remove duplicate elasticsearch search threads config

This prevents elasticsearch from starting up and seems to have been
accidentally introduced in [1]. This change takes the increased thread
count from [1] and removes the duplicate entry.

[1] 5537e8b378

Change-Id: Ibfc5f57540bfc348e0480ca5f22b9bf7046f4829
This commit is contained in:
Jonathan Rosser 2018-06-18 14:20:49 +01:00 committed by Kevin Carter
parent e3eb653b37
commit f7c86d1aa4

View File

@ -96,9 +96,6 @@ gateway.recover_after_nodes: {{ ((master_node_count | int) // 2) + 1 }}
# <https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-threadpool.html> # <https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-threadpool.html>
{% set thread_pool_size = ansible_processor_cores * ((ansible_processor_threads_per_core > 0) | ternary(ansible_processor_threads_per_core, 1)) %} {% set thread_pool_size = ansible_processor_cores * ((ansible_processor_threads_per_core > 0) | ternary(ansible_processor_threads_per_core, 1)) %}
thread_pool: thread_pool:
search:
size: {{ thread_pool_size }}
queue_size: {{ thread_pool_size * 64 }}
search: search:
size: {{ thread_pool_size }} size: {{ thread_pool_size }}
queue_size: {{ thread_pool_size * 256 }} queue_size: {{ thread_pool_size * 256 }}