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

M. de Rooy <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #23573|0                           |1
        is obsolete|                            |

--- Comment #47 from M. de Rooy <[email protected]> ---
Created attachment 25114
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=25114&action=edit
Bug 11078 Add locking to rebuild_zebra.pl

This patch adds locking to rebuild_zebra.pl to ensure that simultaneous
changes are prevented (as one is likely to overwrite the other).
Incremental updates in daemon mode will skipped if the lock is busy
and they will be picked up on the next pass.  Non-daemon mode
invocations will wait for the lock to clear and then proceed.
Supporting changes made to Makefile.PL and templates for the new
locking directory (paralleling the other zebra lock directories).
We stash the zebra_lockdir in koha-conf.xml so rebuild_zebra.pl
can find it.

Signed-off-by: Martin Renvoize <[email protected]>

Signed-off-by: Marcel de Rooy <[email protected]>
Amended the patch: just added the /rebuild from the follow-up.
Works as advertised, but I post some comments on Bugzilla.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to