[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
Thu Oct 31 23:51:26 CET 2013


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

--- Comment #19 from Robin Sheat <robin at catalyst.net.nz> ---
I attempted to have a go testing this, however the patches don't apply on
current master:

Applying: Bug 11078 Add locking to rebuild_zebra to prevent race conditions.
/home/robin/catalyst/koha/.git/rebase-apply/patch:67: tab in indent.
    if (flock(LockFH, LOCK_EX|LOCK_NB)) {
/home/robin/catalyst/koha/.git/rebase-apply/patch:68: tab in indent.
        do_one_pass() if ( zebraqueue_not_empty() );
/home/robin/catalyst/koha/.git/rebase-apply/patch:69: tab in indent.
        flock(LockFH, LOCK_UN);
/home/robin/catalyst/koha/.git/rebase-apply/patch:70: tab in indent.
    }
fatal: sha1 information is lacking or useless
(misc/migration_tools/rebuild_zebra.pl).
Repository lacks necessary blobs to fall back on 3-way merge.
Cannot fall back to three-way merge.
Patch failed at 0001 Bug 11078 Add locking to rebuild_zebra to prevent race
conditions.
The copy of the patch that failed is found in:
   /home/robin/catalyst/koha/.git/rebase-apply/patch

This usually happens if they're on top of a local patch or something that isn't
in master. It probably just needs a quick rebasing.

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


More information about the Koha-bugs mailing list