Bug 5228

Summary: Sometimes the zebra server directories break and rebuild_zebra fails
Product: Koha Reporter: Robin Sheat <robin>
Component: PackagingAssignee: Robin Sheat <robin>
Status: CLOSED FIXED QA Contact: Bugs List <koha-bugs>
Severity: enhancement    
Priority: PATCH-Sent (DO NOT USE) CC: chris
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: proposed patch
proposed patch

Description Robin Sheat 2010-09-16 05:45:21 UTC
The plan is to make it more robust, so when the directories break, it'll do the smart thing and recreate them. This reduces the chance of zebra indexing breaking because someone was playing around in the file system. Note that it'll also force a full rebuild when it notices that directories are missing.
Comment 1 Robin Sheat 2010-09-16 05:52:54 UTC Comment hidden (obsolete)
Comment 2 Robin Sheat 2010-09-16 07:11:38 UTC
Created attachment 2631 [details] [review]
proposed patch

Fixes a warning from the previous one.
Comment 3 Chris Cormack 2010-12-13 09:01:53 UTC
Patch pushed, please test