[Koha-bugs] [Bug 9049] rebuild_zebra should not use shadow when called with -r

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 7 17:43:09 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9049

Elliott Davis <elliott at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #13637|0                           |1
        is obsolete|                            |

--- Comment #8 from Elliott Davis <elliott at bywatersolutions.com> ---
Created attachment 13939
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=13939&action=edit
[Signed-Off] [Passed-QA] Bug 9049: Don't use shadow with rebuild_zebra -r

Due to a limitation of Zebra, the register must be cleared *before*
doing shadow indexing if you want to reset the indexes. In light of
that, it does not make sense to do shadow indexing at all when
rebuild_zebra.pl is run with the -r switch. This patch makes -r (reset)
imply -n (no shadow).

To test:
1) Run `rebuild_zebra.pl -b -r -v -v -v`
2) Note that the script never runs the merge phase

Without the patch I see log lines refering to the shadow cache (enabling shadow
spec=/home/koha/koha-dev/var/lib/zebradb/biblios/shadow:20G)
With the patch I don't see anything in the logs about shadow.  I do however see
lines about merging.  I think it could just be a misunderstanding of the logs

Signed-off-by: wajasu <matted-34813 at mypacks.net>
Signed-off-by: Elliott Davis <elliott at bywatersolutions.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list