[Koha-bugs] [Bug 30692] Wrong progress displayed for ES indexing tasks

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 5 16:24:00 CEST 2022


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

--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 134642
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=134642&action=edit
Bug 30692: Fix progress for ES indexing tasks

This patch makes the ES indexing task record progress properly.

To test:
1. Have ES setup
2. Edit a record making any change that would trigger indexing
3. Go to Administration > Background jobs
=> FAIL: The task status is 'Finished' but progress shows '0/1'.
4. Apply this patch
5. Restart the default worker:
   $ koha-worker --restart kohadev
6. Repeat 2 and 3
=> SUCCESS: Things work the same, but progress is '1/1'
7. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list