[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 05:02:59 CET 2014


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

--- Comment #50 from Robin Sheat <robin at catalyst.net.nz> ---
(In reply to Doug Kingston from comment #49)
> Please point me at a similar usage elsewhere so I can make sure to do what
> you intend here.

Near the bottom of xt/yaml_valid.pl has an example of using eval. You probably
don't need an error check here though, just the eval. If the platform can't
handle flock, the best thing we can do is move on. Maybe output a message if -v
has been specified.

> 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.

Hmm, an option on what to do is fine, though I think generally I'd want it to
just die, so I don't run the risk of having 50 processes all sitting waiting.
It should die with an output on STDERR though, as this is likely to be an
uncommon event and might be indicative of an issue.

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


More information about the Koha-bugs mailing list