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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to