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

            Bug ID: 33987
           Summary: Combine multiple db updates in
                    C4::ImportBatch::BatchCommitRecords for
                    efficiency/avoiding possible deadlocks
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Tools
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

When replacing existing records BatchCommitRecords will the table
import_records will be updated three times for three different fields by three
different queries. Not only is this inefficient ( especially for large batches
), it seems that this is causing the dreaded "Lock wait timeout exceeded; try
restarting transaction" error on some mysql/mariadb configurations.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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