[Koha-bugs] [Bug 36365] New: compare-es-to-db tool should offer a mode to reconcile differences
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Mar 19 22:05:02 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36365
Bug ID: 36365
Summary: compare-es-to-db tool should offer a mode to reconcile
differences
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P3
Component: Command-line Utilities
Assignee: koha-bugs at lists.koha-community.org
Reporter: wizzyrea at gmail.com
QA Contact: testopia at bugs.koha-community.org
CC: robin at catalyst.net.nz
Koha can currently tell how many biblios are in the database vs how many are in
the elasticsearch indexes, but it cannot reconcile those differences without
either bespoke work deleting individual ES documents or a full reindex. A full
reindex might not solve the problem anyway, due to invalid data in MARC
records.
It would be really neat if the existing tool to compare-es-to-db.pl had a mode
that would at least try to reconcile any discrepancies. For example if it was
discovered that there were more indexes than biblios, remove the erroneous ES
documents, or if there were more biblios than es indexes, identify them and
attempt to reindex them.
We should also provide an easy to understand error report if reconciliation was
not possible, with suggested actions to take for the sysadmins or users.
This would obviously be an Elasticsearch only feature.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list