Skip to content

Conversation

@masseyke
Copy link
Member

For a very short time, the pending indices count is 0. Since ReindexDataStreamEnrichedStatus uses the pending count to compute the number of successes shown in the upgrade assistant, the upgrade assistant very briefly shows 100% success when a task starts. This fixes that by initializing pending to totalIndicesToBeUpgraded rather than to 0.

I have also tacked on two things that have been bugging me: a misspelled word in a comment, and a difficult-to-read task description.

@elasticsearchmachine
Copy link
Collaborator

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

@masseyke masseyke added auto-backport Automatically create backport pull requests when merged and removed Team:Data Management Meta label for data/management team labels Feb 28, 2025
@elasticsearchmachine elasticsearchmachine added the Team:Data Management Meta label for data/management team label Feb 28, 2025
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
9.0
8.18
8.x

masseyke added a commit to masseyke/elasticsearch that referenced this pull request Feb 28, 2025
masseyke added a commit to masseyke/elasticsearch that referenced this pull request Feb 28, 2025
elasticsearchmachine pushed a commit that referenced this pull request Feb 28, 2025
elasticsearchmachine pushed a commit that referenced this pull request Mar 1, 2025
elasticsearchmachine pushed a commit that referenced this pull request Mar 1, 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 :Data Management/Data streams Data streams and their lifecycles >non-issue Team:Data Management Meta label for data/management team v8.18.0 v8.18.1 v8.19.0 v9.0.0 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants