[koha-commits] main Koha release repository branch new/bug_9050 created. v3.08.00-1204-gdeeeb06
Git repo owner
gitmaster at git.koha-community.org
Tue Nov 13 00:49:21 CET 2012
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, new/bug_9050 has been created
at deeeb068d9c92b2f46689230398d8ad2611a5517 (commit)
- Log -----------------------------------------------------------------
commit deeeb068d9c92b2f46689230398d8ad2611a5517
Author: Jared Camins-Esakov <jcamins at cpbibliography.com>
Date: Sat Nov 10 08:40:19 2012 -0500
Bug 9050: Use safer adelete when deleting records from Zebra index
Previously we used the "delete" command in zebraidx, which fails when
you try to delete a record that doesn't exist in the index. By changing
to the "adelete" command, we can reduce the likelihood of a failed
delete causing ghost records. A symptom of this problem is the warning
message occasionally encountered when indexing from the zebraqueue,
"[warn] cannot delete record above (seems new)."
To test:
1) Add a recordDelete action for a record that does not exist to
zebraqueue in MySQL:
INSERT INTO zebraqueue (biblio_auth_number, operation, server) \
VALUES (999999999, 'recordDelete', 'biblioserver');
2) Run `rebuild_zebra.pl -b -z -v [-x]`.
3) Note that you do not get the message "[warn] cannot delete record
above (seems new)".
Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>
Passed-QA-by: Paul Poulain <paul.poulain at biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>
-----------------------------------------------------------------------
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list