Skip to content

Fix double logging in querymiddleware caching #11312

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

Merged
merged 1 commit into from
Apr 28, 2025

Conversation

zenador
Copy link
Contributor

@zenador zenador commented Apr 25, 2025

What this PR does

Remove double logging when areEvaluationTimeModifiersCachable evaluates to false due to an error in parsing or preprocessing the query expression.

Which issue(s) this PR fixes or relates to

Follow up to #11292 (comment)

Checklist

  • Tests updated.
  • Documentation added.
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX].
  • about-versioning.md updated with experimental features.

Minor change, should only affect logging and the reason recorded in a metric.

Copy link
Contributor

@narqo narqo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥 Works for me

Copy link
Contributor

@dimitarvdimitrov dimitarvdimitrov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks! 🙏

@zenador zenador merged commit 70e3ab5 into main Apr 28, 2025
26 checks passed
@zenador zenador deleted the zenador/fix-double-logging-qm-cache branch April 28, 2025 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants