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

bug-1912979: fix rerererereprocessing problem in local dev env #6689

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

willkg
Copy link
Contributor

@willkg willkg commented Aug 13, 2024

We need to set the ack_deadline_seconds otherwise it defaults to 10 seconds which isn't long enough and causes crash ids to get read again. And again. And again. And again again.

This only affects the local dev environment, so I'm putting it up for review for reals.

We need to set the ack_deadline_seconds otherwise it defaults to 10
seconds which isn't long enough and causes crash ids to get read again.
And again. And again. And again again.
@willkg willkg marked this pull request as ready for review August 13, 2024 19:42
@willkg willkg requested a review from a team as a code owner August 13, 2024 19:42
subscriber.create_subscription(
name=subscription_path,
topic=topic_path,
ack_deadline_seconds=600,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

600 is the number we use in stage and prod.

@willkg willkg merged commit a51c686 into main Aug 13, 2024
1 check passed
@willkg willkg deleted the willkg-bug-1912979-rerereprocessing branch August 14, 2024 13:00
willkg added a commit to mozilla-services/obs-common that referenced this pull request Dec 6, 2024
willkg added a commit to mozilla-services/obs-common that referenced this pull request Dec 6, 2024
This re-implements the fix from
mozilla-services/socorro#6689

Before this fix, the ack_deadline_timeout is 10 seconds which isn't long
enough for the Socorro processor to process a crash report which causes
the crash id to be available in the subscription again which causes the
crash report to get reprocessed over and over again.
willkg added a commit to mozilla-services/obs-common that referenced this pull request Dec 6, 2024
This re-implements the fix from
mozilla-services/socorro#6689

Before this fix, the ack_deadline_timeout is 10 seconds which isn't long
enough for the Socorro processor to process a crash report which causes
the crash id to be available in the subscription again which causes the
crash report to get reprocessed over and over again.
github-merge-queue bot pushed a commit to mozilla-services/obs-common that referenced this pull request Dec 6, 2024
This re-implements the fix from
mozilla-services/socorro#6689

Before this fix, the ack_deadline_timeout is 10 seconds which isn't long
enough for the Socorro processor to process a crash report which causes
the crash id to be available in the subscription again which causes the
crash report to get reprocessed over and over again.
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.

2 participants