Done
Details
Assignee
Kateryna SenchenkoKateryna SenchenkoReporter
Olga KondratenkoOlga KondratenkoLabels
Priority
P1Story Points
2Sprint
NoneDevelopment Team
FolijetFix versions
Release
Nolana (R3 2022) Bug FixRCA Group
Implementation coding issueAffected releases
Nolana (R3 2022)TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Kateryna Senchenko
Kateryna SenchenkoReporter
Olga Kondratenko
Olga KondratenkoLabels
Priority
Story Points
2
Sprint
None
Development Team
Folijet
Fix versions
Release
Nolana (R3 2022) Bug Fix
RCA Group
Implementation coding issue
Affected releases
Nolana (R3 2022)
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created November 23, 2022 at 12:26 PM
Updated October 9, 2023 at 10:53 AM
Resolved December 4, 2022 at 7:32 PM
Large (Create BIBs) data import jobs get stuck right out of the gate due to deadlocking in the database.
This problem was found in the scope of ticket Performance dependencies between bulk edit and data import but further investigations show that it is found in even standalone DI jobs.
BE side reports the issue: 022-11-23 10:23:50 UTC:10.23.10.99(60214):fs09000000_mod_source_record_manager@folio:[8742]:ERROR: deadlock detected
2022-11-23 10:23:50 UTC:10.23.10.99(60214):fs09000000_mod_source_record_manager@folio:[8742]:DETAIL: Process 8742 waits for ShareLock on transaction 518512889; blocked by process 3640.
Process 3640 waits for ShareLock on transaction 518512821; blocked by process 8742.
Process 8742: UPDATE fs09000000_mod_source_record_manager.job_monitoring SET last_event_timestamp = $1, notification_sent = $2 WHERE job_execution_id = $3
Process 3640: UPDATE fs09000000_mod_source_record_manager.job_monitoring SET last_event_timestamp = $1, notification_sent = $2 WHERE job_execution_id = $3
Steps to Reproduce:
Navigate to theData Import app -> import 50k MARC BIB records with "PTF Create 2"
Import 50k MARC BIB records with "PTF Create 2"
Expected Results:
The Data import job completed successfully.
Actual Results:
The process of importing was stuck. No data import is available for hours. All further data import jobs progress is 0%.
Additional Information:
Environment: ncp3 https://ptf-nolana-2.int.aws.folio.org/
When a deadlock is resolved data import will be available only after the main modules that are involved in the process restarted.