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 condition between polling and watcher #277

Open
mizdebsk opened this issue Feb 5, 2019 · 0 comments
Open

Race condition between polling and watcher #277

mizdebsk opened this issue Feb 5, 2019 · 0 comments

Comments

@mizdebsk
Copy link
Member

mizdebsk commented Feb 5, 2019

Today I've observed the following sequence of events:

  • Feb 05 15:50:08 koschei-polling: Polling latest real builds...
  • Feb 05 15:50:45 koji: rubygem-thor-0.20.3-1.fc30 tagged into f30 by autopen
  • Feb 05 15:50:45 koschei-watcher: Registering real build rubygem-thor-0.20.3-1.fc30 for collection Fedora rawhide (task_id 32554657)
  • Feb 05 15:51:20 koschei-polling: Build(id=5990932, package=rubygem-thor, collection=f30, state=complete, task_id=32554657) is no longer tagged

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.

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

No branches or pull requests

1 participant