Update job stuck while updating records with invalid external id

Description

Overview:
 The script for update authorities "Marc Authorities update instructions" export ACTUAL records from SRS to generate .mrc file.
But some of the records have invalid external ids which are linked to not existed inventory records. 
And updating such records through data import causes the job to hang.

We should handle this situation and show discarded message to not break import update process 

Steps to reproduce:

  1. Create SRS record with not existed externalId (inventory record id)

  2. Try to update MARC record via data-import (matching by 999$s)

Expected Result:
 Update data import job has discarded invalid records with the message "Inventory record not found" and proceed execution.

Actual Result:
 Data import job stuck without any errors and logs inside.

 

BE: Check for MARC Bib and MARC Holdings updates

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

2
  • 22 Mar 2023, 12:56 PM
  • 09 Mar 2023, 01:39 PM

Checklist

hide

TestRail: Results

Activity

Show:

Ann-Marie Breaux March 22, 2023 at 3:08 PM

Thank you,

Kateryna Senchenko March 22, 2023 at 12:58 PM

Thank you , closing this ticket

Shans Kaluhin March 22, 2023 at 12:57 PM

Verified on Orchid Bugfest. Works as expected.

Ann-Marie Breaux March 21, 2023 at 2:57 PM

Per BE devs will test in BF after after the BF authorities performance issue is resolved, which is working on.

Ann-Marie Breaux March 20, 2023 at 6:30 PM

Hi Could you review in Orchid Bugfest and confirm whether this is working properly? Also, should we have a manual TestRail for this? Thank you!

cc:

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Folijet

Fix versions

Release

Orchid (R1 2023) Bug Fix

RCA Group

Data related (ex. Can be detected with large dataset only)

Affected releases

Orchid (R1 2023)
Nolana (R3 2022)
Morning Glory (R2 2022)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created February 23, 2023 at 10:23 AM
Updated March 22, 2023 at 3:08 PM
Resolved March 9, 2023 at 2:03 PM
TestRail: Cases
TestRail: Runs

Flag notifications