Skip to content

Conversation

@nielsbauman
Copy link
Contributor

Backport

This will backport the following commits from main to 8.17:

Questions ?

Please refer to the Backport tool documentation

By keeping a list of all the rollover results in a rollover request
batch, we were keeping references to all the intermediate cluster states
that we built. We've seen this list take up ~1.4GB with 600 rollover
requests in one batch.

We only kept the list of results to compute the "reason" for the
allocation reroute, so we can easily drop the cluster state reference
from the list and only keep what we need.

Fixes elastic#123893

(cherry picked from commit ff6465b)

# Conflicts:
#	server/src/main/java/org/elasticsearch/action/admin/indices/rollover/LazyRolloverAction.java
@nielsbauman nielsbauman added :Data Management/Indices APIs APIs to create and manage indices and templates >bug auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) Team:Data Management Meta label for data/management team labels Mar 6, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

@elasticsearchmachine
Copy link
Collaborator

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

@elasticsearchmachine elasticsearchmachine merged commit 7ac2963 into elastic:8.17 Mar 6, 2025
15 checks passed
@nielsbauman nielsbauman deleted the backport/8.17/pr-124107 branch March 6, 2025 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) >bug :Data Management/Indices APIs APIs to create and manage indices and templates Team:Data Management Meta label for data/management team v8.17.4

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants