[Koha-bugs] [Bug 22690] New: Merging problem with records with many items (ElasticSearch)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 11 16:19:26 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22690

            Bug ID: 22690
           Summary: Merging problem with records with many items
                    (ElasticSearch)
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Cataloging
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: vitorfernandes87 at gmail.com
        QA Contact: testopia at bugs.koha-community.org
                CC: m.de.rooy at rijksmuseum.nl
  Target Milestone: ---

When merging records with many items, Koha reindexes the origin record and the
destination record for each item moving (check MoveItemFromBiblio in
C4::Items).
If the record being eliminated has 1000 items, Koha will make 2000 reindexes.
Because of this behaviour, the merging is too slow.

Test plan:

- Create 2 records (one with 1000 items for example)
- Add the records to one list and start the merging process of those records. 
- Choose the record with many items as the one to be eliminated.
- Start the merging
- After a while the web server should give you a timeout error (the merging
process continues)

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list