Bugzilla – Attachment 23221 Details for
Bug 11078
rebuild_zebra.pl can lose updates due to race condition during full rebuilds
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Minor fix to path used by rebuild_zebra for locking to match docs.
0002-Bug-11078-Add-locking-to-rebuild_zebra.pl-path-fix.patch (text/plain), 1.06 KB, created by
Doug Kingston
on 2013-11-29 08:09:55 UTC
(
hide
)
Description:
Minor fix to path used by rebuild_zebra for locking to match docs.
Filename:
MIME Type:
Creator:
Doug Kingston
Created:
2013-11-29 08:09:55 UTC
Size:
1.06 KB
patch
obsolete
>From 330db3d9dc36c52d94ccf6331285dc46341cb9ff Mon Sep 17 00:00:00 2001 >From: Doug Kingston <dpk@randomnotes.org> >Date: Fri, 29 Nov 2013 00:01:22 -0800 >Subject: [PATCH 2/2] Bug 11078 Add locking to rebuild_zebra.pl (path fix) > >Add missing reference to subdirectory for rebuild_zebra locks >under zebra lock diretory. This is already handled correctly >in the docs, template and makefiles. The code in fact works >either way, but docs and reality should match. >--- > misc/migration_tools/rebuild_zebra.pl | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/misc/migration_tools/rebuild_zebra.pl b/misc/migration_tools/rebuild_zebra.pl >index 1e9b300..6e713ff 100755 >--- a/misc/migration_tools/rebuild_zebra.pl >+++ b/misc/migration_tools/rebuild_zebra.pl >@@ -159,6 +159,7 @@ my ($biblioitemnumbertagfield,$biblioitemnumbertagsubfield) = &GetMarcFromKohaFi > # by koha-zebra-ctl.sh. > > my $lockdir = C4::Context->config("zebra_lockdir") // "/var/lock"; >+$lockdir .= "/rebuild"; > mkpath($lockdir, 0, oct(755)) unless (-d $lockdir); > my $lockfile = $lockdir . "/rebuild..LCK"; > >-- >1.7.9.5 >
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 11078
:
22044
|
22045
|
22205
|
22458
|
22506
|
22508
|
22532
|
22985
|
22992
|
23220
|
23221
|
23573
|
23574
|
25114
|
25172
|
25330
|
25412
|
25446
|
25447