Bugzilla – Attachment 4031 Details for
Bug 5166
Reintroduce a zebraqueue daemon, make several rebuild_zebra.pl functions a lib
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Take note of Bug 5724
0002-Bug-5166-Fix-as-of-Bug-5724.patch (text/plain), 1.07 KB, created by
Tomás Cohen Arazi (tcohen)
on 2011-05-03 14:25:36 UTC
(
hide
)
Description:
Take note of Bug 5724
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2011-05-03 14:25:36 UTC
Size:
1.07 KB
patch
obsolete
>From 4500ebe3e23b7f25f8e602c3dc92299208282afa Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@gmail.com> >Date: Tue, 3 May 2011 11:20:55 -0300 >Subject: [PATCH 2/2] Bug 5166 - Fix as of Bug 5724 >Content-Type: text/plain; charset="utf-8" > >As noted in Bug 5724, deletions should be processed AFTER updates, so an late update doesn't >reinsert the deleted record. > >To+ >--- > C4/Catalog/Zebra.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/C4/Catalog/Zebra.pm b/C4/Catalog/Zebra.pm >index 9c7dc4e..a96d2f4 100644 >--- a/C4/Catalog/Zebra.pm >+++ b/C4/Catalog/Zebra.pm >@@ -125,8 +125,8 @@ sub IndexZebraqueueRecords > > my ($num_records_updated,$num_records_deleted); > >- $num_records_deleted = (IndexZebraqueueByAction('deleted',$record_type,$record_format,$as_xml,$noxml)||0); > $num_records_updated = (IndexZebraqueueByAction('updated',$record_type,$record_format,$as_xml,$noxml)||0); >+ $num_records_deleted = (IndexZebraqueueByAction('deleted',$record_type,$record_format,$as_xml,$noxml)||0); > > return $num_records_deleted + $num_records_updated; > } >-- >1.7.4.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 5166
:
2565
|
3239
|
3380
|
3381
|
3382
|
3383
|
3643
|
3664
|
3958
|
4031
|
4831
|
6902
|
8357