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

Crashlytics dispatch Rollouts writes async to prevent hangs #12977

Merged
merged 6 commits into from
May 20, 2024

Conversation

samedson
Copy link
Contributor

#12913 reports hangs writing to rollouts.

I was able to reproduce this in a test by putting a long running operation on the FIRCLSGetLoggingQueue(). Root cause is dispatching synchronously for writes to rollouts.

Added a test case to ensure updateRolloutsStateToPersistenceWithRollouts returns to the caller without blocking on the dispatch queue.

@firebase firebase deleted a comment from google-oss-bot May 16, 2024
@samedson samedson requested a review from visumickey May 16, 2024 14:47
Copy link
Member

@ncooke3 ncooke3 left a comment

Choose a reason for hiding this comment

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

Nice find and writeup of the approach taken!

@paulb777 paulb777 added this to the 10.27.0 - M148 milestone May 17, 2024
@samedson
Copy link
Contributor Author

We have a ton of flakes in Crashlytics...

@samedson samedson merged commit dfd6149 into main May 20, 2024
69 checks passed
@samedson samedson deleted the clogged-queues branch May 20, 2024 14:57
@firebase firebase locked and limited conversation to collaborators Jun 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants