[Buildbot-devel] Scheduler issues after upgrade from 0.8.5 to 0.8.6p1

Tom Prince tom.prince at ualberta.net
Thu Jun 14 01:39:40 UTC 2012


Iustin Pop <iustin at google.com> writes:

> Yes. What I've realised since sending the email is that the
> db_poll_interval is not only (as the docs say) mostly useful for
> multi-master setup, but that if defined, it actually changes the
> behaviour of buildbot. For whatever reason, we had this parameter
> defined.
>
> After removing it, everything works fine. I guess what was happening was
> that some unhandled exception during the db poll was breaking the reset
> of the timer. So there's some bug, I believe, that affects multi-master
> setup or any other env where db_poll_interval is set; but for our case,
> this went away after removing the param and not relying on the poll
> loop.

Looking at the code, it looks like if polling is enabled, then changes
pass through the database before being processed by schedulers, so if
some error was happening during polling, then schedulers wouldn't be
triggered.

If you are getting errors during polling, then that could be a bug.

  Tom




More information about the devel mailing list