Source Record Storage upgrade fails with error

Description

Migration Fails with error in logs:

2021-09-23T11:47:49.734-04:00
15:47:49.731 [vert.x-eventloop-thread-1] ERROR LiquibaseUtil [68161827eqId] Error while initializing schema fs00001000_mod_source_record_storage for tenant fs00001000

2021-09-23T11:47:49.734-04:00
liquibase.exception.ValidationFailedException: Validation Failed:

2021-09-23T11:47:49.734-04:00
1 change sets check sum

2021-09-23T11:47:49.734-04:00
liquibase/tenant/scripts/v-0.0.2/2020-09-09--15-00-fill-instance-hrid.xml::2020-09-09--15-00-fill-instance-hrid::VolodymyrRohach was: 8:7b3964b7a779b03ee84c1e6c6805e676 but is now: 8:b793dffaa405478fd4e620638c366ec5

The database seems to be in an intermediate state with about 1000 empty tables called "marc_indexers_xxx"

I can provide other info if it is helpful

I updated to Hotfix 2 in an attempt to resolve this before making the issue.

Only 1 tenant in this cluster

CSP Request Details

Juniper hotfix approved by CPT in the Slack release_bug_triage channel

CSP Rejection Details

None

Potential Workaround

None

Attachments

2

Checklist

hide

TestRail: Results

Activity

Show:

Ann-Marie BreauxOctober 1, 2021 at 6:53 PM
Edited

Woot!! Thanks, so no hotfix required. I'm removing that release label. And thank you for your help sorting this out!

Carole GodfreyOctober 1, 2021 at 2:46 PM

Issue resolved with 5.1.6 upgrade

Carole GodfreyOctober 1, 2021 at 2:46 PM

Confirmed with team this is resolved – closing issue

Carole GodfreySeptember 30, 2021 at 2:00 PM

-   also attached mod-srs log from when HF2 was applied (upgrade to version. 5.1.6) - this log does NOT contain the  ValidationFailedException. He also attached the databasechangelog (as noted in previous comment)

I believe this this issue is resolved but would like to get confirmation from team

Steps followed:

(1)Upgraded to  HF1 (5.1.5) and see the exception in the logs
liquibase.exception.ValidationFailedException: Validation Failed:

(2)Upgraded to HF2 (5.1.6) - logs attached- minor message in log 
liquibase/tenant/changelog.xml : SQL Precondition failed. Expected '1' got '0'

(3)Schema mod_source_record_storage schema (contains 1000 partitions - mostly empty)

Executed - https://folio-org.atlassian.net/wiki/pages/viewpage.action?spaceKey=FOLIJET&title=MODSOURCE-276%3A+Add+existing+records+to+the+SRS+Query+API+table

Because the initial upgrade failed silently - would like to confirm upgrade is successful

 

 

Eric ValukSeptember 29, 2021 at 6:58 PM

I attached the contents of databasechangelog also pre request from

Won't Do

Details

Assignee

Reporter

Priority

Story Points

Development Team

Folijet Support

CSP Approved

Yes

Affected Institution

Chalmers

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created September 24, 2021 at 9:52 PM
Updated February 15, 2022 at 5:30 PM
Resolved October 1, 2021 at 2:46 PM
TestRail: Cases
TestRail: Runs