https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30260

--- Comment #1 from Aleisha Amohia <[email protected]> ---
Created attachment 131532
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131532&action=edit
Bug 30260: Add is_indexer_working check

Function checks if the zebraqueue has rows that are not 'done'

Will depend on a change in checkindex.sh which implements the check:
https://git.koha-community.org/Koha-community/global/src/branch/master/koha-zebra/checkindex.sh

To test:

1. disable the indexer

sudo koha-indexer --stop INSTANCENAME

2. catalogue 5 new records
3. confirm they don't show in any search results
4. in your terminal, go to the shell

sudo koha-shell INSTANCENAME

5. run the new script. run with -v for verbose or --rows X to specify
how many uncommitted records should be checked for. 5 is the default

perl misc/maintenance/check_zebraqueue.pl

6. confirm the script returns that the indexer is not working.

The function in koha-functions.sh is required for the pending change to
checkindex.sh

Sponsored-by: Catalyst IT

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to