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

Race conditions involving submission processing and cancellation tasks#7372

Open
1 task done
jennifer-richards opened this issue Apr 26, 2024 · 0 comments
Open
1 task done

Comments

@jennifer-richards
Copy link
Member

Describe the issue

Following a server restart, the celery workers were not running while a couple of submissions came in. When this was noticed and the celery worker started, there were a couple problems indicating races. First, for some reason each submission was canceled 4 (or so) times according to its log. Second, in one case, after the cancellation, the submission was marked as having passed its validation checks. This indicated that it was in the process of being processed when it was canceled.

It'd be nice to understand and avoid the multiple cancellations.

We need to be sure a canceled submission is not later marked as processed or otherwise allowed to continue its lifecycle.

Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant