Skip to content

Register the snapshot_archiving feature flag - #26917

Open
fpetersen-gl wants to merge 1 commit into
masterfrom
feature/archiving-via-snapshots-ff
Open

Register the snapshot_archiving feature flag#26917
fpetersen-gl wants to merge 1 commit into
masterfrom
feature/archiving-via-snapshots-ff

Conversation

@fpetersen-gl

Copy link
Copy Markdown
Contributor

Description

Adds one line to feature-flag.config: snapshot_archiving=off.

Motivation and Context

Feature flags are registered only in graylog2-server, so the entry for the enterprise Snapshot Archiving work belongs here. The plugin reads the flag to hide the Snapshot Archiving settings and to refuse them at the API.

Graylog treats an unknown flag as off, so this can merge before or after the plugin side without changing behaviour either way.

Part of Graylog2/graylog-plugin-enterprise#14686.
/nocl - Part of something bigger.

How Has This Been Tested?

ImmutableFeatureFlagsTest passes (12 tests). The line itself carries no logic, so it has no test of its own.

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.

Default off. Consumed by graylog-plugin-enterprise, which gates the Snapshot Archiving config endpoint and UI on it. An unregistered flag already reads as off, so this can merge on its own.
@fpetersen-gl
fpetersen-gl requested a review from a team August 6, 2026 15:19
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.

1 participant