[Koha-bugs] [Bug 6435] [ENH] Added daemon mode parameters to rebuild_zebra.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Nov 10 22:59:16 CET 2013


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

Chris Cormack <chris at bigballofwax.co.nz> changed:

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

--- Comment #45 from Chris Cormack <chris at bigballofwax.co.nz> ---
Created attachment 22851
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=22851&action=edit
Bug 6435 Add daemon mode to rebuild_zebra.pl

This change adds code to check the zebraqueue table with a cheap SQL query
and a daemon loop that checks for new entries and processes them incremantally
before sleeping for a controllable number of seconds.  The default is 5 seconds
which provides a near realtime search index update.  This is desirable
particularly
for libraries that are doing active catalogue updating.  The query is adjusted
based on whether -a, -b, or -a -b are specified.

Help text updated.  Tested against a live 3.12 system.

Note that this fix will benefit from the fix to lack of locking (bug 11078)

Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list