[Piuparts-devel] protocol changes for idle and arch
Andreas Beckmann
debian at abeckmann.de
Mon Jun 4 12:58:01 UTC 2012
On 2012-06-04 14:45, Holger Levsen wrote:
master goes into idle state if it can't fulfill a reserve request
idle state expires after some time (1 hour) to see if Packages has been
updated
> Also if the master said "idle"? IMO this doesnt make sense.
the master is idle *unless* someone submits a log and possibly unblocks
another package that way
submitting a log (or any other modification of the logdb, e.g.
rescheduling) clears the idle state and requires status recomputation on
the next connection
the important part is that just querying the idle state is cheap (no
loading of Packages and logDB)
Just imagine you have 7 slaves running and about 50 sections in your
config ... like me :-)
Andreas
More information about the Piuparts-devel
mailing list