-
Notifications
You must be signed in to change notification settings - Fork 24.7k
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
Handle index template with no template defined correctly #98834
Comments
Pinging @elastic/es-analytics-geo (Team:Analytics) |
A composable index template with no template defined in the body is mistakingly always assumed to not be a time series template. Even if it refers to a component template that has the `index.mode` setting set to `time_series` and the component template defines mappings with dimension fields or routing paths. Closes elastic#98834
Reproduction:
Executing get data stream api:
The data stream isn't a tsdb data stream (the
The |
A workaround if deleting the invalid data stream is acceptable, would be to add an empty
When executing get data stream ap nowi:
The |
…98840) A composable index template with no template defined in the body is mistakingly always assumed to not be a time series template. Even if it refers to a component template that has the index.mode setting set to time_series and the component template defines mappings with dimension fields or routing paths. Closes #98834
…lastic#98840) A composable index template with no template defined in the body is mistakingly always assumed to not be a time series template. Even if it refers to a component template that has the index.mode setting set to time_series and the component template defines mappings with dimension fields or routing paths. Closes elastic#98834
A composable index template with no
template
defined in the body is mistakingly always assumed to not be a time series template. Even if it refers to a component template that has theindex.mode
setting set totime_series
and the component template defines mappings with dimension fields or routing paths.Incorrectly this causes to create a data stream with a tsdb index without time series start and end time settings set. The fact that this can happen is another bug and is being tracked #98833.
What should happen in this case is that a tsdb data stream is created with a valid tsdb backing index (with correctly generated time series start and end time settings).
This bug was found as part investigating #98792 and is the cause of that bug.
The text was updated successfully, but these errors were encountered: