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

[r284] Backport: Handle TSDB native histogram validation errors as soft errors (#7773) #7785

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

krajorama
Copy link
Contributor

This reverts commit fb7dbaa.

  • Handle TSDB native histogram validation errors are soft errors

  • add all testcases

Signed-off-by: György Krajcsovits gyorgy.krajcsovits@grafana.com

  • Count towards discarded samples metrics with new reason

Signed-off-by: György Krajcsovits gyorgy.krajcsovits@grafana.com


Signed-off-by: György Krajcsovits gyorgy.krajcsovits@grafana.com
(cherry picked from commit 51c4088)

* Revert "Distributor: add bucket count validation to native histograms (#7736)"

This reverts commit fb7dbaa.

* Handle TSDB native histogram validation errors are soft errors

* add all testcases

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>

* Count towards discarded samples metrics with new reason

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>

---------

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
(cherry picked from commit 51c4088)
@krajorama krajorama requested review from jdbaldry and a team as code owners April 3, 2024 10:49
@krajorama krajorama merged commit 868d1b3 into r284 Apr 3, 2024
29 checks passed
@krajorama krajorama deleted the backport-7773-to-r284 branch April 3, 2024 11:55
grafanabot pushed a commit that referenced this pull request Apr 3, 2024
…#7785)

* Revert "Distributor: add bucket count validation to native histograms (#7736)"

This reverts commit fb7dbaa.

* Handle TSDB native histogram validation errors are soft errors

* add all testcases

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>

* Count towards discarded samples metrics with new reason

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>

---------

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
(cherry picked from commit 51c4088)
(cherry picked from commit 868d1b3)
@grafanabot
Copy link
Contributor

The backport to r282 failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new branch
git switch --create backport-7785-to-r282 origin/r282
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x 868d1b34cfd1411ff8f8e113cb639013deed1198
# Push it to GitHub
git push --set-upstream origin backport-7785-to-r282
git switch main
# Remove the local backport branch
git branch -D backport-7785-to-r282

Then, create a pull request where the base branch is r282 and the compare/head branch is backport-7785-to-r282.

krajorama added a commit that referenced this pull request Apr 3, 2024
…#7785) (#7786)

* Revert "Distributor: add bucket count validation to native histograms (#7736)"

This reverts commit fb7dbaa.

* Handle TSDB native histogram validation errors are soft errors

* add all testcases

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>

* Count towards discarded samples metrics with new reason

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>

---------

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
(cherry picked from commit 51c4088)
(cherry picked from commit 868d1b3)

Co-authored-by: George Krajcsovits <krajorama@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants