Skip to content

Conversation

@maxhniebergall
Copy link
Contributor

The default queue_capacity of 1024 has been affecting some customers who experience errors during reindex or when using ingest pipelines. Now that we have automatic chunking, this issue is more common. To prevent customers from running into this issue, we are increasing the default queue_capacity to 10'000. At the same time, we have found that the previous maximum queue_capacity of 1MM was too large, and would cause crashes if filled. We are decreasing it to what we believe is a more realistic value.

The queue_capacity of existing deployments should be unaffected by this change.

@elasticsearchmachine elasticsearchmachine added the Team:ML Meta label for the ML team label Oct 17, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/ml-core (Team:ML)

@elasticsearchmachine
Copy link
Collaborator

Hi @maxhniebergall, I've created a changelog YAML for you.

@maxhniebergall maxhniebergall added the auto-backport Automatically create backport pull requests when merged label Oct 18, 2024
@maxhniebergall maxhniebergall enabled auto-merge (squash) October 18, 2024 16:38
@maxhniebergall maxhniebergall merged commit 1399586 into main Oct 23, 2024
17 checks passed
@maxhniebergall maxhniebergall deleted the trainedModelsQueueCapacity branch October 23, 2024 13:16
@elasticsearchmachine
Copy link
Collaborator

💔 Backport failed

The backport operation could not be completed due to the following error:

An unexpected error occurred when attempting to backport this PR.

You can use sqren/backport to manually backport by running backport --upstream elastic/elasticsearch --pr 115041

@maxhniebergall
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
8.x

Questions ?

Please refer to the Backport tool documentation

elasticsearchmachine pushed a commit that referenced this pull request Oct 23, 2024
…_capacity to 100_000 (#115041) (#115416)

* Increase default queue capacity and decrease max queue capacity

* Update docs/changelog/115041.yaml

* Update tests to match new constants

(cherry picked from commit 1399586)
smalyshev pushed a commit to smalyshev/elasticsearch that referenced this pull request Oct 23, 2024
…_capacity to 100_000 (elastic#115041)

* Increase default queue capacity and decrease max queue capacity

* Update docs/changelog/115041.yaml

* Update tests to match new constants
georgewallace pushed a commit to georgewallace/elasticsearch that referenced this pull request Oct 25, 2024
…_capacity to 100_000 (elastic#115041)

* Increase default queue capacity and decrease max queue capacity

* Update docs/changelog/115041.yaml

* Update tests to match new constants
jfreden pushed a commit to jfreden/elasticsearch that referenced this pull request Nov 4, 2024
…_capacity to 100_000 (elastic#115041)

* Increase default queue capacity and decrease max queue capacity

* Update docs/changelog/115041.yaml

* Update tests to match new constants
ppf2 added a commit that referenced this pull request Dec 17, 2024
ppf2 added a commit that referenced this pull request Dec 17, 2024
ppf2 added a commit to ppf2/elasticsearch that referenced this pull request Dec 17, 2024
elasticsearchmachine pushed a commit that referenced this pull request Dec 17, 2024
elasticsearchmachine pushed a commit that referenced this pull request Dec 17, 2024
rjernst pushed a commit to rjernst/elasticsearch that referenced this pull request Dec 18, 2024
sarog pushed a commit to portsbuild/elasticsearch that referenced this pull request Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged backport pending >enhancement :ml Machine learning Team:ML Meta label for the ML team v8.17.0 v9.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants