deeeb068d9
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> |
||
---|---|---|
.. | ||
22_to_30 | ||
build_oai_sets.pl | ||
buildCOUNTRY.pl | ||
buildEDITORS.pl | ||
buildLANG.pl | ||
bulkauthimport.pl | ||
bulkmarcimport.pl | ||
checkNonIndexedBiblios.pl | ||
create_analytical_rel.pl | ||
fix_onloan.pl | ||
koha-svc.pl | ||
merge_authority.pl | ||
rebuild_nozebra.pl | ||
rebuild_solr.pl | ||
rebuild_zebra.pl | ||
rebuild_zebra_sliced.sh | ||
remove_unused_authorities.pl | ||
upgradeitems.pl |