Skip to content

Conversation

@gmarouli
Copy link
Contributor

@gmarouli gmarouli commented May 8, 2025

Backports the following commits to 8.17:

…stic#127890)

When downsampling an index that has a mapping with passthrough dimensions the downsampling process identifies the wrapper object as a dimension and it fails when it tried to retrieve the type.

We did some prework to establish a shared framework in the internalClusterTest. For now it only includes setting up time series data stream helpers and a limited assertion helper for dimensions and metrics. This allows us to setup an internalClusterTest that captures this issue during downsampling in elastic#125156.

To fix this we refine the check that determines if a field is dimension, to skip wrapper field.

Fixes elastic#125156.
@gmarouli gmarouli added :StorageEngine/TSDB You know, for Metrics auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport labels May 8, 2025
@elasticsearchmachine elasticsearchmachine merged commit 1d8d1d2 into elastic:8.17 May 8, 2025
15 checks passed
@gmarouli gmarouli deleted the backport/8.17/pr-127890 branch May 8, 2025 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport :StorageEngine/TSDB You know, for Metrics v8.17.7

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants