[Koha-bugs] [Bug 11078] rebuild_zebra.pl can lose updates due to race condition during full rebuilds

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 10 15:15:41 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11078

--- Comment #57 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
> I do not have a preference on the default behavior here.  I can also see
> people being surprised that their command exits without waiting by default
> as the most
> likely interference is from an incremental update at about the same time
> which will exit quickly.  Adding a flag to control waiting or exiting is
> fine.  It should complement the default behavior.
> 
> I would like some sort of consensus from the community before I start
> changing code.  If a couple of more people concur, I can make the change. 
> Lets try to close on this issue quickly - can you reach out to a couple of
> senior folks for an opinion?  Otherwise, lets leave as is.

We have some replies now (moving the balance to skipping). The argument of a
cronjob that starts a new incremental update every 2 minutes while the rebuild
is running 60 minutes gives you 30 jobs just waiting, is imo sound enough to
default to skip instead of wait.
An additional parameter could be added to include the wait behavior as your
patch implemented.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list