datatracker icon indicating copy to clipboard operation
datatracker copied to clipboard

Race conditions involving submission processing and cancellation tasks

Open jennifer-richards opened this issue 10 months ago • 0 comments

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

jennifer-richards avatar Apr 26 '24 19:04 jennifer-richards