New issue
Advanced search Search tips

Issue 669322 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Apr 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature



Sign in to add a comment

Race condition between Buildbucket and Scheduler

Project Member Reported by phosek@chromium.org, Nov 29 2016

Issue description

There appears to be a race condition between Buildbucket and Scheduler: when adding new Scheduler jobs, Scheduler might schedule Buildbucket builds before they are declared as backed by Swarming. This is because Buildbucket read config only after builds where created by Scheduler and as a consequence these are categorized as non-Swarming ones and they are stuck in the queue.
 
Labels: Pri-2

Comment 2 by estaab@chromium.org, Jan 20 2017

Labels: -Restrict-View-Google
Status: Available (was: Untriaged)
FTR, I'm not sure there's anything we can do. It's two independent systems reading configs at uncorrelated moments in time.
What's the problem with first pushing configs to buildbucket, ensuring buildbucket processed them, and then adding configs for scheduler?
It's just too tempting to commit two config files in a single commit, since they are in the same repo :)
I see. Then, perhaps this should be renamed "Atomic config changes in luci-config", though I suspect it'll be wontfix for years anyways.

Comment 7 by no...@chromium.org, Oct 31 2017

changing something atomically in different apps is not easy indeed

Comment 8 by no...@chromium.org, Apr 30 2018

Labels: -Pri-2 Pri-3 Type-Feature

Comment 9 by no...@chromium.org, Apr 30 2018

Status: WontFix (was: Available)
eh, realistically, it is not going to happen 

Sign in to add a comment