Skip to content

Conversation

@gmarouli
Copy link
Contributor

@gmarouli gmarouli commented May 8, 2025

Backport of #127752.

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 #125156.

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

Fixes #125156.

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 backport :StorageEngine/TSDB You know, for Metrics labels May 8, 2025
@gmarouli gmarouli merged commit 64f3418 into elastic:9.0 May 8, 2025
16 checks passed
@gmarouli gmarouli deleted the backport/9.0/pr-127752 branch May 8, 2025 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants