[koha-commits] main Koha release repository branch master updated. v16.05.00-1174-gbfcc7ca

Git repo owner gitmaster at git.koha-community.org
Fri Oct 28 13:29:19 CEST 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, master has been updated
       via  bfcc7cad70bfc23163865b2ff39eb592d6d9d152 (commit)
      from  2d4226902d20bc0d3bcd696f34d56ac60ee2c5b6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit bfcc7cad70bfc23163865b2ff39eb592d6d9d152
Author: Fridolin Somers <fridolin.somers at biblibre.com>
Date:   Thu Sep 29 16:19:48 2016 +0200

    Bug 17376 - rebuild_zebra.pl in daemon mode no database access kills the process
    
    When running rebuild_zebra.pl in daemon mode, a while loop runs the script for ever.
    But if something crashes inside the rebuild process, the all daemon crashes.
    For example when it can not access database.
    This problem may be temporary so daemon should keep running.
    
    This patch add eval around the rebuild process to allow a run to fail without killing the daemon.
    Also moves the DB handler get inside daemon loop because it is broken is DB stoppes.
    
    This is a big issue for indexer running in a systemd service.
    
    Test plan :
    - run rebuild_zebra.pl in daemon mode :
    /home/koha/src/misc/migration_tools/rebuild_zebra.pl -daemon -z -a -b -x --sleep 30
    - stop the database
    - wait a minute
    => you see an error on database connexion
    => the daemon is still running
    - restart the database
    - test the indexer by creating a new record (wait for a minute)
    
    Signed-off-by: Jacek Ablewicz <abl at biblos.pk.edu.pl>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

-----------------------------------------------------------------------

Summary of changes:
 misc/migration_tools/rebuild_zebra.pl |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list