[koha-commits] main Koha release repository branch 3.22.x updated. v3.22.12-3-g28fc01a

Git repo owner gitmaster at git.koha-community.org
Tue Nov 8 10:25:04 CET 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, 3.22.x has been updated
       via  28fc01a612d3e9042c96fe47bd3ea7bd94d2e71f (commit)
      from  a67c666da41915f2da341d700923a4a4f99c30ad (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 28fc01a612d3e9042c96fe47bd3ea7bd94d2e71f
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>
    (cherry picked from commit bfcc7cad70bfc23163865b2ff39eb592d6d9d152)
    Signed-off-by: Frédéric Demians <f.demians at tamil.fr>
    (cherry picked from commit db1bf801e6ad9f9f051d51672a744179beb48bc8)
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.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