Bugzilla – Attachment 110037 Details for
Bug 26448
koha-elasticsearch --commit parameter is not used
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26448: Don't overwrite commit parameter passed to koha-elasticsearch
Bug-26448-Dont-overwrite-commit-parameter-passed-t.patch (text/plain), 1.22 KB, created by
Nick Clemens (kidclamp)
on 2020-09-14 10:17:38 UTC
(
hide
)
Description:
Bug 26448: Don't overwrite commit parameter passed to koha-elasticsearch
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2020-09-14 10:17:38 UTC
Size:
1.22 KB
patch
obsolete
>From ec1771af4d669f4ebad010ef43a6a33125d0f327 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Joonas=20Kylm=C3=A4l=C3=A4?= <joonas.kylmala@helsinki.fi> >Date: Mon, 14 Sep 2020 10:27:24 +0300 >Subject: [PATCH] Bug 26448: Don't overwrite commit parameter passed to > koha-elasticsearch > >The "--commit" or "-c" parameter was incorrectly not used if it was >passed to the koha-elasticsearch program. > >To test: >1) Before patch notice koha-elasticsearch --rebuild --commit 1 -v <instance> > only commits every 5000 records >2) Apply patch and notice the above command commits every 1 record > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > debian/scripts/koha-elasticsearch | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/debian/scripts/koha-elasticsearch b/debian/scripts/koha-elasticsearch >index 70a24d243b..a5428175ac 100755 >--- a/debian/scripts/koha-elasticsearch >+++ b/debian/scripts/koha-elasticsearch >@@ -98,7 +98,7 @@ run_rebuild_elasticsearch() > if [ "${clo_processes}" > 0 ]; then > processes=${clo_processes} > fi >- rebuild_opts="--processes ${processes}" >+ rebuild_opts="${rebuild_opts} --processes ${processes}" > > if [ "${delete}" = "yes" ]; then > rebuild_opts="${rebuild_opts} -d" >-- >2.11.0
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 26448
:
110032
| 110037