Bug 5228 - Sometimes the zebra server directories break and rebuild_zebra fails
Summary: Sometimes the zebra server directories break and rebuild_zebra fails
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Packaging (show other bugs)
Version: Main
Hardware: All All
: PATCH-Sent (DO NOT USE) enhancement (vote)
Assignee: Robin Sheat
QA Contact: Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-16 05:45 UTC by Robin Sheat
Modified: 2012-10-25 22:52 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
proposed patch (3.31 KB, patch)
2010-09-16 05:52 UTC, Robin Sheat
Details | Diff | Splinter Review
proposed patch (3.31 KB, patch)
2010-09-16 07:11 UTC, Robin Sheat
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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