-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Labels
:Data Management/Data streamsData streams and their lifecyclesData streams and their lifecycles>bugTeam:Data ManagementMeta label for data/management teamMeta label for data/management team
Description
Elasticsearch Version
main
Installed Plugins
No response
Java Version
bundled
OS Version
macos 15.6
Problem Description
The streams' state returned by GET _streams/status is not included in snapshots.
If a snapshot is taken while the feature is enabled, restoring a cluster from a snapshot will keep the feature disabled ({ "logs": {"enabled": false} }).
Steps to Reproduce
Assuming a preconfigured snapshot repository
// 1. Enable streams
POST kbn:/api/streams/_enable
// 2. Verify streams is enabled
GET _streams/status // -> { "logs": { "enabled": true } }
// 3. Create a snapshot
PUT /_snapshot/{repository}/snapshot_1?wait_for_completion=true
{
"include_global_state": true
}
// 4. Restore
POST /_snapshot/{repository}/snapshot_1/_restore?wait_for_completion=true
{
"include_global_state":true
}
// 5. Streams is disabled
GET _streams/status // -> { "logs": { "enabled": false } }
Logs (if relevant)
No response
Metadata
Metadata
Assignees
Labels
:Data Management/Data streamsData streams and their lifecyclesData streams and their lifecycles>bugTeam:Data ManagementMeta label for data/management teamMeta label for data/management team