fedora-infra / koschei

Continuous integration for Fedora packages
GNU General Public License v2.0
37 stars 15 forks source link

Race condition between polling and watcher #277

Open mizdebsk opened 5 years ago

mizdebsk commented 5 years ago

Today I've observed the following sequence of events:

Polling started a long Koji query to get latest packages in a tag. In meantime, a build was tagged in Koji and registered in DB by watcher. When the query completed, it didn't include newly tagged build, so the build was marked as untagged.