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

Store: add failing test to show an issue with tsdb selector #7468

Merged

Conversation

MichaHoffmann
Copy link
Contributor

The TSDB Selector is more powerful then label matchers. The issue is that we propagate the TSDB to select with label matchers, but they cannot convey enough information to select the right TSDB. This is an example of a configuration that would select too many TSDBs.

  • I added CHANGELOG entry for this change.
  • Change is not relevant to the end user.

Changes

Added a failing test to show an issue with the TSDBSelector.

Verification

N/A

@MichaHoffmann MichaHoffmann force-pushed the mhoffm-add-failing-test-to-show-issue-with-tsdb-selector branch from 205f307 to 5b23074 Compare June 17, 2024 15:34
The TSDB Selector is more powerful then label matchers. The issue is
that we propagate the TSDB to select with label matchers, but they
cannot convey enough information to select the right TSDB. This is an
example of a configuration that would select too many TSDBs.

Signed-off-by: Michael Hoffmann <mhoffm@posteo.de>
@MichaHoffmann MichaHoffmann force-pushed the mhoffm-add-failing-test-to-show-issue-with-tsdb-selector branch from 5b23074 to f819add Compare June 17, 2024 15:37
@yeya24
Copy link
Contributor

yeya24 commented Jun 19, 2024

What's the plan of this PR. Do we just want to show case the problem or get it merged as well?

@MichaHoffmann
Copy link
Contributor Author

Plan was to show the problem, merge and then slowly start fixing it asynchronous when I have time

@MichaHoffmann MichaHoffmann merged commit 0ff119d into main Jun 20, 2024
19 of 20 checks passed
hczhu-db pushed a commit to databricks/thanos that referenced this pull request Aug 22, 2024
…o#7468)

The TSDB Selector is more powerful then label matchers. The issue is
that we propagate the TSDB to select with label matchers, but they
cannot convey enough information to select the right TSDB. This is an
example of a configuration that would select too many TSDBs.

Signed-off-by: Michael Hoffmann <mhoffm@posteo.de>
hczhu-db pushed a commit to databricks/thanos that referenced this pull request Aug 22, 2024
…o#7468)

The TSDB Selector is more powerful then label matchers. The issue is
that we propagate the TSDB to select with label matchers, but they
cannot convey enough information to select the right TSDB. This is an
example of a configuration that would select too many TSDBs.

Signed-off-by: Michael Hoffmann <mhoffm@posteo.de>
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.

3 participants