Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]Add API Support for Re-adding Indices to Data Streams #10726

Closed
weiwang118 opened this issue Oct 19, 2023 · 2 comments
Closed

[Feature]Add API Support for Re-adding Indices to Data Streams #10726

weiwang118 opened this issue Oct 19, 2023 · 2 comments
Labels
enhancement Enhancement or improvement to existing feature or request :Feature/Datastream Issues related to data streams

Comments

@weiwang118
Copy link
Contributor

weiwang118 commented Oct 19, 2023

Is your feature request related to a problem? Please describe.
Data Streams in OpenSearch simplify the initial setup process and work exceptionally well for time-based data like application logs, which are generally append-only. However, the current API support for data streams doesn't provide sufficient functionalities for modifying the data streams themselves.

  • Use Case 1
    When indices of data streams are migrated to UltraWarm, automated snapshots will exclude those indices, but since those indices still are part of the data stream, the data stream metadata will still have these indices but automated snapshots don't. This will cause index not exists exception when customers try to restore data streams from snapshots.

  • Use Case 2
    If a backing index is migrated to cold storage, it is removed from the data stream. Even if you move the index back to UltraWarm, this index remains not part of the original data stream. Since this index is already removed from the data stream, searching against the stream won't return any data from that index.

Describe the solution you'd like
I propose the development of a new API specifically crafted to add an index back into the data stream. Such an API would effectively address the above-mentioned use cases, ensuring seamless data stream management and retrieval.

@weiwang118 weiwang118 added enhancement Enhancement or improvement to existing feature or request untriaged labels Oct 19, 2023
@weiwang118 weiwang118 changed the title Add API Support for Re-adding Indices to Data Streams [Feature]Add API Support for Re-adding Indices to Data Streams Oct 19, 2023
@ashking94
Copy link
Member

@weiwang118 - Some of these features are not present in OpenSearch. Can you elaborate more on the exact changes expected in OpenSource Opensearch?

@jed326
Copy link
Collaborator

jed326 commented Jun 12, 2024

@jed326 jed326 closed this as completed Jun 12, 2024
@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in Search Project Board Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement or improvement to existing feature or request :Feature/Datastream Issues related to data streams
Projects
Archived in project
Development

No branches or pull requests

6 participants