Skip to content

Commit

Permalink
chore(userconfigs): generate files
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored and github-actions[bot] committed Nov 9, 2023
1 parent 2e10258 commit 06908ae
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 0 deletions.
10 changes: 10 additions & 0 deletions api/v1alpha1/userconfig/service/opensearch/opensearch.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions charts/aiven-operator-crds/templates/aiven.io_opensearches.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,22 @@ spec:
maximum: 40
minimum: 3
type: integer
indices_memory_max_index_buffer_size:
description: Absolute value. Default is unbound. Doesn't work
without indices.memory.index_buffer_size. Maximum amount
of heap used for query cache, an absolute indices.memory.index_buffer_size
maximum hard limit.
maximum: 2048
minimum: 3
type: integer
indices_memory_min_index_buffer_size:
description: Absolute value. Default is 48mb. Doesn't work
without indices.memory.index_buffer_size. Minimum amount
of heap used for query cache, an absolute indices.memory.index_buffer_size
minimal hard limit.
maximum: 2048
minimum: 3
type: integer
indices_queries_cache_size:
description: Percentage value. Default is 10%. Maximum amount
of heap used for query cache. This is an expert setting.
Expand Down
16 changes: 16 additions & 0 deletions config/crd/bases/aiven.io_opensearches.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,22 @@ spec:
maximum: 40
minimum: 3
type: integer
indices_memory_max_index_buffer_size:
description: Absolute value. Default is unbound. Doesn't work
without indices.memory.index_buffer_size. Maximum amount
of heap used for query cache, an absolute indices.memory.index_buffer_size
maximum hard limit.
maximum: 2048
minimum: 3
type: integer
indices_memory_min_index_buffer_size:
description: Absolute value. Default is 48mb. Doesn't work
without indices.memory.index_buffer_size. Minimum amount
of heap used for query cache, an absolute indices.memory.index_buffer_size
minimal hard limit.
maximum: 2048
minimum: 3
type: integer
indices_queries_cache_size:
description: Percentage value. Default is 10%. Maximum amount
of heap used for query cache. This is an expert setting.
Expand Down
2 changes: 2 additions & 0 deletions docs/docs/api-reference/opensearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,8 @@ OpenSearch settings.
- [`http_max_initial_line_length`](#spec.userConfig.opensearch.http_max_initial_line_length-property){: name='spec.userConfig.opensearch.http_max_initial_line_length-property'} (integer, Minimum: 1024, Maximum: 65536). The max length of an HTTP URL, in bytes.
- [`indices_fielddata_cache_size`](#spec.userConfig.opensearch.indices_fielddata_cache_size-property){: name='spec.userConfig.opensearch.indices_fielddata_cache_size-property'} (integer, Minimum: 3, Maximum: 100). Relative amount. Maximum amount of heap memory used for field data cache. This is an expert setting; decreasing the value too much will increase overhead of loading field data; too much memory used for field data cache will decrease amount of heap available for other operations.
- [`indices_memory_index_buffer_size`](#spec.userConfig.opensearch.indices_memory_index_buffer_size-property){: name='spec.userConfig.opensearch.indices_memory_index_buffer_size-property'} (integer, Minimum: 3, Maximum: 40). Percentage value. Default is 10%. Total amount of heap used for indexing buffer, before writing segments to disk. This is an expert setting. Too low value will slow down indexing; too high value will increase indexing performance but causes performance issues for query performance.
- [`indices_memory_max_index_buffer_size`](#spec.userConfig.opensearch.indices_memory_max_index_buffer_size-property){: name='spec.userConfig.opensearch.indices_memory_max_index_buffer_size-property'} (integer, Minimum: 3, Maximum: 2048). Absolute value. Default is unbound. Doesn't work without indices.memory.index_buffer_size. Maximum amount of heap used for query cache, an absolute indices.memory.index_buffer_size maximum hard limit.
- [`indices_memory_min_index_buffer_size`](#spec.userConfig.opensearch.indices_memory_min_index_buffer_size-property){: name='spec.userConfig.opensearch.indices_memory_min_index_buffer_size-property'} (integer, Minimum: 3, Maximum: 2048). Absolute value. Default is 48mb. Doesn't work without indices.memory.index_buffer_size. Minimum amount of heap used for query cache, an absolute indices.memory.index_buffer_size minimal hard limit.
- [`indices_queries_cache_size`](#spec.userConfig.opensearch.indices_queries_cache_size-property){: name='spec.userConfig.opensearch.indices_queries_cache_size-property'} (integer, Minimum: 3, Maximum: 40). Percentage value. Default is 10%. Maximum amount of heap used for query cache. This is an expert setting. Too low value will decrease query performance and increase performance for other operations; too high value will cause issues with other OpenSearch functionality.
- [`indices_query_bool_max_clause_count`](#spec.userConfig.opensearch.indices_query_bool_max_clause_count-property){: name='spec.userConfig.opensearch.indices_query_bool_max_clause_count-property'} (integer, Minimum: 64, Maximum: 4096). Maximum number of clauses Lucene BooleanQuery can have. The default value (1024) is relatively high, and increasing it may cause performance issues. Investigate other approaches first before increasing this value.
- [`indices_recovery_max_bytes_per_sec`](#spec.userConfig.opensearch.indices_recovery_max_bytes_per_sec-property){: name='spec.userConfig.opensearch.indices_recovery_max_bytes_per_sec-property'} (integer, Minimum: 40, Maximum: 400). Limits total inbound and outbound recovery traffic for each node. Applies to both peer recoveries as well as snapshot recoveries (i.e., restores from a snapshot). Defaults to 40mb.
Expand Down

0 comments on commit 06908ae

Please sign in to comment.