Bugzilla – Attachment 134642 Details for
Bug 30692
Wrong progress displayed for ES indexing tasks
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30692: Fix progress for ES indexing tasks
Bug-30692-Fix-progress-for-ES-indexing-tasks.patch (text/plain), 1.22 KB, created by
Tomás Cohen Arazi (tcohen)
on 2022-05-05 14:24:00 UTC
(
hide
)
Description:
Bug 30692: Fix progress for ES indexing tasks
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2022-05-05 14:24:00 UTC
Size:
1.22 KB
patch
obsolete
>From fb4be497d3ece81692def5e699657154d71cce7c Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Thu, 5 May 2022 11:07:11 -0300 >Subject: [PATCH] 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@theke.io> >--- > Koha/BackgroundJob/UpdateElasticIndex.pm | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/Koha/BackgroundJob/UpdateElasticIndex.pm b/Koha/BackgroundJob/UpdateElasticIndex.pm >index c2bd48aa1f..c3a77a43c1 100644 >--- a/Koha/BackgroundJob/UpdateElasticIndex.pm >+++ b/Koha/BackgroundJob/UpdateElasticIndex.pm >@@ -79,6 +79,7 @@ sub process { > > } > } else { >+ $self->step; > # FIXME This is not correct if some record_ids have been skipped > $report->{total_success} = scalar @record_ids; > } >-- >2.34.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 30692
:
134642
|
134646