Skip to content

Offer functions for outdated indices - #26106

Merged
todvora merged 41 commits into
masterfrom
feature/outdated-indices-functions
Jun 5, 2026
Merged

Offer functions for outdated indices#26106
todvora merged 41 commits into
masterfrom
feature/outdated-indices-functions

Conversation

@moesterheld

@moesterheld moesterheld commented May 22, 2026

Copy link
Copy Markdown
Contributor

Description

This PR bundles the changes needed for handling outdated indices. It is based on #26076 and #25860 . Please merge these first and then rebase this branch on master.

It adds:

  • a delete endpoint for indices that are outdated and non-Graylog managed (including validation)
  • validation that indices to be reindexed are system indices
  • usage of the admin cert based authentication OS client in the OutdatedIndexService for all calls

Motivation and Context

part of https://github.com/Graylog2/graylog-plugin-enterprise/issues/14002

How Has This Been Tested?

existing tests, manually

Screenshots (if appropriate):

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.

moesterheld and others added 30 commits April 23, 2026 12:29
# Conflicts:
#	graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/IndicesAdapterOS.java
#	graylog2-server/src/main/java/org/graylog2/indexer/indices/OutdatedIndex.java
#	graylog2-server/src/main/java/org/graylog2/indexer/indices/OutdatedIndexService.java
Co-authored-by: Tomas Dvorak <tomas.dvorak@graylog.com>
@todvora
todvora self-requested a review June 5, 2026 11:49

@todvora todvora 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.

LGTM!

@todvora
todvora merged commit 72b2641 into master Jun 5, 2026
23 checks passed
@todvora
todvora deleted the feature/outdated-indices-functions branch June 5, 2026 13:13
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.

2 participants