[Buildbot] #3121: Master deactivation iterates over all builds
    Buildbot trac 
    trac at buildbot.net
       
    Sat Dec 27 20:22:35 UTC 2014
    
    
  
#3121: Master deactivation iterates over all builds
-------------------+------------------------------
Reporter:  dustin  |      Owner:
    Type:  defect  |     Status:  new
Priority:  major   |  Milestone:  0.9.+
 Version:  0.8.10  |   Keywords:  database, simple
-------------------+------------------------------
 When a master is deactivated, it performs a query for all builds on that
 master, and marks them as RETRY.  However, that query is not optimized
 down to the DB level, so in practice we select *all* builds, ever, into a
 Python list and then filter that in Python.  That's very inefficient!
 The fix is to trace the 'masterid' and 'results' parameters through the
 data API endpoint and into the DB API.
--
Ticket URL: <http://trac.buildbot.net/ticket/3121>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
    
    
More information about the bugs
mailing list