Koha/misc/migration_tools
Jared Camins-Esakov deeeb068d9 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@bigballofwax.co.nz>
Passed-QA-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
2012-11-12 18:53:49 -05:00
..
22_to_30
build_oai_sets.pl
buildCOUNTRY.pl
buildEDITORS.pl
buildLANG.pl
bulkauthimport.pl
bulkmarcimport.pl
checkNonIndexedBiblios.pl Bug 6566 Checking if DB's records are properly indexed 2012-07-06 17:11:39 +02:00
create_analytical_rel.pl
fix_onloan.pl
koha-svc.pl
merge_authority.pl
rebuild_nozebra.pl
rebuild_solr.pl Bug 8233 : SearchEngine: Add a Koha::SearchEngine module 2012-07-06 16:51:58 +02:00
rebuild_zebra.pl Bug 9050: Use safer adelete when deleting records from Zebra index 2012-11-12 18:53:49 -05:00
rebuild_zebra_sliced.sh Bug 8727 Minor stylistic change to help text 2012-09-17 18:47:40 +02:00
remove_unused_authorities.pl
upgradeitems.pl