Skip to content

Commit 7e4f2f7

Browse files
Expose indexing pressure as car parameter (#55)
With this commit we expose the cluster setting `indexing_pressure.memory.limit` as a car parameter. This allows us to override this setting in all cases but leaves the decision to rally-teams whether it is applicable for a specific release.
1 parent ac384de commit 7e4f2f7

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

cars/v1/vanilla/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ This directory contains the Elasticsearch base configuration.
55
This configuration allows to set the following parameters with Rally 0.10.0 using `--car-params`:
66

77
* `data_paths` (default: "data" (relative to the Elasticsearch root directory)): A string specifying the Elasticsearch data path.
8+
* `indexing_pressure_memory_limit` (default: not set): A percentage value defining the cluster setting [`indexing_pressure.memory.limit`](https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules-indexing-pressure.html).
89
* `additional_cluster_settings` (default: empty): A dictionary of key-value pairs with additional settings in `elasticsearch.yml`.
910
* `additional_java_settings` (default: empty): A list of additional settings in `jvm.options`. Each entry in the list will end up as one line in `jvm.options`.
1011

cars/v1/vanilla/templates/config/elasticsearch.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@ discovery.type: {{discovery_type}}
103103
#
104104
#action.destructive_requires_name: true
105105

106+
{%- if indexing_pressure_memory_limit is defined %}
107+
indexing_pressure.memory.limit: {{indexing_pressure_memory_limit}}
108+
{%- endif %}
109+
106110
{# cluster settings provided from the track #}
107111
{%- for key, value in cluster_settings.items() %}
108112
{{key}}: {{value | tojson}}

0 commit comments

Comments
 (0)