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

Fix race conditions on account migration creation #15597

Merged

Conversation

ClearlyClaire
Copy link
Contributor

@ClearlyClaire ClearlyClaire commented Jan 19, 2021

Fixes #15595

Also add tests although they do not directly relate to the race condition.

@ClearlyClaire ClearlyClaire force-pushed the fixes/move-handler-race-conditions branch 3 times, most recently from 22c3c11 to ef2e311 Compare January 19, 2021 10:46
@ClearlyClaire ClearlyClaire force-pushed the fixes/move-handler-race-conditions branch from ef2e311 to 7895074 Compare January 19, 2021 11:45
@ClearlyClaire ClearlyClaire marked this pull request as ready for review January 19, 2021 11:45
Base automatically changed from master to main January 20, 2021 10:31
@Gargron Gargron merged commit a044dda into mastodon:main Feb 2, 2021
ClearlyClaire added a commit to ClearlyClaire/mastodon that referenced this pull request Jan 28, 2022
* Atomically check for processing lock in Move handler

* Prevent race condition when creating account migrations

Fixes mastodon#15595

* Add tests

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
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.

An account migration request may be processed repeatedly
2 participants