Uploaded image for project: 'mod-source-record-storage'
  1. mod-source-record-storage
  2. MODSOURCE-329

Create script to clean up Snapshot statuses in mod-source-record-storage (Iris Hotfix)

    XMLWordPrintable

    Details

    • Template:
    • Story Points:
      1
    • Development Team:
      Folijet
    • Release:
      R1 2021 Hot Fix #3
    • Hot Fix Approved by Cap Planning?:
      Yes
    • Hot Fix Approval Comments:
      Approved at CPT at 7/12
    • Affected Institution:
      Cornell

      Description

      Problem summary: updating of some older records failed, because they were created by some older jobs that did not complete successfully. Such records were tied to an entity that stored metadata about the job, and the status of that metadata entity was incorrect due to some troubles with updating the status (it could have happened at the time that mod-source-record-storage was unavailable). As a result, newly imported records for update couldn't be saved in mod-source-record-storage with updated generation.

      Resolution:

      1. The issue can be resolved on the DB side of mod-source-record-storage - every Snapshot status other than COMMITTED should be set to ERROR in the snapshots_lb table. For future releases (Iris Hot Fix #3, Juniper Bugfix) Folijet will add a migration script to ensure that the data in mod-source-record-storage is correct and there are no invalid job/snapshot statuses.
      2. Add note to https://wiki.folio.org/display/REL/R1+2021+%28Iris%29+Release+Notes about the possible cleanup that is needed and the script

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Kateryna Senchenko Kateryna Senchenko
                Reporter:
                abreaux Ann-Marie Breaux
                Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases