Skip to content

fix(logging): Downgrade hash mismatch log level to info - #122799

Draft
sentry[bot] wants to merge 1 commit into
masterfrom
seer/fix/logging-hash-mismatch-level
Draft

fix(logging): Downgrade hash mismatch log level to info#122799
sentry[bot] wants to merge 1 commit into
masterfrom
seer/fix/logging-hash-mismatch-level

Conversation

@sentry

@sentry sentry Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

The event_grouping_info.hash_mismatch condition was being logged at error level. This condition occurs when the grouping configuration for a project changes after an event has been ingested, leading to a discrepancy between the stored event hashes and the hashes recalculated on-the-fly for the grouping info API endpoint.

This is an expected and informational state, not an actual error, as the recalculation is done for display purposes and does not guarantee a match with historical data. Logging this as an error was causing significant noise in Sentry (over 300k occurrences).

This change downgrades the log level from error to info in _check_for_mismatched_hashes within src/sentry/grouping/grouping_info.py. The event_grouping_info.hash_mismatch metric will continue to be incremented, ensuring that the occurrence of these mismatches is still tracked, but they will no longer generate Sentry error events.

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

Fixes SENTRY-RS9

Comment @sentry <feedback> on this PR to have Autofix iterate on the changes.

This PR was automatically generated by Sentry. You can adjust this setting at any time.

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants