]> git.koha-community.org Git - koha.git/commit
bug 2253: improve rebuild_zebra's handling of zebraqueue
authorGalen Charlton <galen.charlton@liblime.com>
Thu, 19 Jun 2008 14:30:59 +0000 (09:30 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Thu, 19 Jun 2008 14:49:06 +0000 (09:49 -0500)
commitdf1f46f9da2b5a5058e616066888f8e21e0c2163
treed577a3573fe5b38142ce294c8687b1985226c2ef
parent56356ced1a3d0836e91a575037fefcfc97a4d390
bug 2253: improve rebuild_zebra's handling of zebraqueue

Prior to this patch, rebuild_zebra.pl -z was effectively
hanging on to a lock on the zebraqueue table, preventing
other scripts from inserting new entries into the table.
This had the effect of causing circulation operations
to time out.

Refactored by having rebuld_zebra.pl pull the active
queue into memory, then mark entries done by zebraqueue.id.
Consequently, rebuild_zebra.pl should no longer
block adding new entries into zebraqueue.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
misc/migration_tools/rebuild_zebra.pl