Logo
Explore Privacy Policy Terms of Service Help
Sign In
ahuston-0/hydra
1
0
Fork 0
You've already forked hydra
Code Issues Pull Requests 1 Packages Projects Releases Wiki Activity
hydra/src/sql/upgrade-54.sql

3 lines
71 B
MySQL
Raw Normal View History

Fix a race that can cause hydra-queue-runner to ignore newly added builds As @dtzWill discovered, with the concurrent hydra-evaluator, there can be multiple active transactions adding builds to the database. As a result, builds can become visible in a non-monotonically increasing order, breaking the queue monitor's assumption that build IDs only go up. The fix is to have hydra-eval-jobset provide the lowest build ID it just added in the builds_added notification, and have the queue monitor check from there. Fixes #496.
2017-07-21 14:25:33 +02:00
drop trigger BuildsAdded on Builds;
drop function notifyBuildsAdded();
Reference in New Issue Copy Permalink
Powered by Gitea Page: 52ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API