Skip to content

Data node's OpenSearch upgrade UI - #26097

Merged
gally47 merged 135 commits into
masterfrom
datanode-opensearch-upgrade
Jul 15, 2026
Merged

Data node's OpenSearch upgrade UI#26097
gally47 merged 135 commits into
masterfrom
datanode-opensearch-upgrade

Conversation

@gally47

@gally47 gally47 commented May 21, 2026

Copy link
Copy Markdown
Contributor

Description

Data node's OpenSearch upgrade UI

Adds the frontend for upgrading the Data Nodes' embedded OpenSearch (e.g. 2.19 → 3.5) from the Data Node Upgrade page.

  • New "Upgrade Data Nodes' embedded OpenSearch" section showing the current/target OpenSearch version and Data Node availability.
  • Outdated indices panel: lists indices created by an older OpenSearch major (grouped into Graylog / System / Foreign) with the actions to resolve them — reindex (system indices), delete, archive-and-delete (when licensed), and rotate for the active write index — plus bulk variants where that is safe.
  • Long-running archive jobs are tracked with live progress and failure states, surviving page reloads and visible across sessions.
  • Rolling upgrade controls: start with confirmation, resume when paused, and live per-node progress tables while the upgrade runs.

Motivation and Context

fixes https://github.com/Graylog2/graylog-plugin-enterprise/issues/14262

Screenshots (if appropriate):

Screenshot 2026-06-30 at 16 06 57

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (non-breaking change)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have requested a documentation update.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.

@gally47 gally47 changed the title OpenSearch upgrade initial UI setup Data node's OpenSearch upgrade UI May 21, 2026
@gally47 gally47 self-assigned this May 21, 2026
@gally47
gally47 force-pushed the datanode-opensearch-upgrade branch from 839fdbd to b259453 Compare June 8, 2026 08:01

@laura-b-g laura-b-g left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As this PR was already tested I only did a code-review on the frontend. I have quite some remarks and it would be nice to get them fixed. For the comments on code comments, I have not commented on all comment lines that I think are only explaining code that should be self-explanatory, it would be good to have a look and remove those.
IMO, none of my remarks are blocking and as I am off the next two days I will already approve.

Comment thread graylog2-web-interface/src/components/datanode/hooks/useDataNodeUpgradeStatus.ts Outdated
Comment thread graylog2-web-interface/src/components/indices/hooks/useCanArchive.ts Outdated
Comment thread graylog2-web-interface/src/pages/DataNodeUpgradePage.tsx Outdated
Comment thread graylog2-web-interface/src/pages/DataNodeUpgradePage.tsx Outdated

@moesterheld moesterheld left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Backend changes by @todvora lgtm, only added a few minor fixes myself

@gally47
gally47 merged commit 34a6258 into master Jul 15, 2026
25 checks passed
@gally47
gally47 deleted the datanode-opensearch-upgrade branch July 15, 2026 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants