#269 Add race condition checking to 'process_waiting_module_builds' function
Closed 6 years ago Opened 7 years ago by mprahl.

In this commit, which is part of PR#263, process_waiting_module_builds was patched to work with the latest code base:
https://pagure.io/fm-orchestrator/c/ee70f57bf23ce14119bab184b8e68d094c97e399

This function is still commented out on the Poller because there is a potential race condition, where the message consumer starts building the module before it marks it in the database as being in the "build" state, and the poller starts working on this module because it is still marked as being in the "wait" state.

First, check to see if this race condition can actually occur, and if it can, safety checks should be added.


Metadata Update from @ralph:
- Issue status updated to: Closed (was: Open)

6 years ago

Login to comment on this ticket.

Metadata