[Buildbot] #2673: [nine] Two endpoints for schedulers?

Buildbot trac trac at buildbot.net
Sun Jan 4 23:47:35 UTC 2015


#2673: [nine] Two endpoints for schedulers?
-----------------------+-----------------------
Reporter:  dustin      |       Owner:  dustin
    Type:  task        |      Status:  assigned
Priority:  major       |   Milestone:  0.9.0
 Version:              |  Resolution:
Keywords:  schedulers  |
-----------------------+-----------------------

Comment (by dustin):

 So, the forcescheduler endpoint looks to the local host configuration for
 information about the scheduler, including the list of builders and the
 field specs.  That won't work in a multi-master context, if the scheduler
 is not configured on the webhead.

 So I think the first step here is to expand the schedulers table to
 include both of these pieces of information.  Since schedulers only run on
 one host at a time, they can simply update this data when they become
 active.

 With this in place, the queries become trivial.  The `control` method will
 still require that the scheduler be configured locally, but fixing that is
 another bug.

--
Ticket URL: <http://trac.buildbot.net/ticket/2673#comment:2>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the bugs mailing list