Issues

Select view

Select search mode

 

Allow DI to function correctly if marc_indexers version value is not set (Poppy Clone)

Done

Description

NOTE: This Poppy Jira is cloned by Orchid CSP 5 Jira MODSOURCE-671

MODSOURCE-601 introduced a notion of 'version' in marc_indexers table to allow inserts of new rows without deletion (deletion is done as a separate process). Setting the initial version (zero) to all existing rows takes excess time during which DI (and other processes interacting with SRS) should be suspended.

Allow DI and search of marc_indexers to function correctly when version is still null (column added, but values are not there yet), treat it as a zero. 

  • Search when no other version than null 

  • Insert of new values with version '1', when others are null

  • Something else?

Environment

None

Potential Workaround

None

CSP Request Details

None

CSP Approved

None

CSP Rejection Details

None

Checklist

hide

TestRail: Results

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Folijet

Fix versions

Release

Poppy (R2 2023)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created August 11, 2023 at 9:21 PM
Updated March 20, 2024 at 4:25 PM
Resolved August 14, 2023 at 2:17 PM

Activity

Show:
Pavlo Smahin
made 2 changes
March 20, 2024 at 4:25 PM
RemoteIssueLink
This issue links to "Page (FOLIO Wiki)"
None
RemoteIssueLink
None
This issue links to "Page (FOLIO Wiki)"
Kateryna Senchenko
made 2 changes
March 7, 2024 at 3:43 PM
RemoteIssueLink
None
This issue links to "Page (FOLIO Wiki)"
RemoteIssueLink
This issue links to "Page (FOLIO Wiki)"
None
Owen Stephens
updated the remoteissuelinkFebruary 8, 2024 at 3:50 PM
None
This issue links to "Page (FOLIO Wiki)"
Owen Stephens
updated the remoteissuelinkFebruary 8, 2024 at 12:54 PM
This issue links to "Page (FOLIO Wiki)"
None
Peter Murray
updated the remoteissuelinkFebruary 7, 2024 at 10:35 PM
None
This issue links to "Page (FOLIO Wiki)"
Cheryl Malmborg
updated the remoteissuelinkFebruary 5, 2024 at 8:39 PM
None
This issue links to "Page (FOLIO Wiki)"
Jenn Colt
updated the remoteissuelinkFebruary 5, 2024 at 8:28 PM
None
This issue links to "Page (FOLIO Wiki)"
Ruslan Lavrov
updated the labelsOctober 14, 2023 at 2:13 PM
data-import epam-folijet has-releasenote-orchid has-releasenote-poppy non-testable
data-import epam-folijet has-releasenote-poppy non-testable
Ruslan Lavrov
made 3 changes
October 14, 2023 at 1:36 PM
Linked Issues
This issue relates to MODSOURCE-671
None
Linked Issues
None
This issue relates to MODSOURCE-671
Labels
data-import epam-folijet needs-releasenote-orchid needs-releasenote-poppy non-testable
data-import epam-folijet has-releasenote-orchid has-releasenote-poppy non-testable
Ruslan Lavrov
updated the linked issuesOctober 14, 2023 at 12:59 PM
None
This issue links to "Page (FOLIO Wiki)"
Ruslan Lavrov
updated the fix versionsOctober 13, 2023 at 11:14 AM
None
5.7.0
Ivan Kryzhanovskyi
made 2 changes
August 14, 2023 at 2:17 PM
Status
In QA
Closed
Resolution
None
Done
Ivan Kryzhanovskyi
updated the SprintAugust 14, 2023 at 2:07 PM
Folijet Sprint 171
Folijet Sprint 171, Folijet Sprint 172
Ann-Marie Breaux
updated the descriptionAugust 11, 2023 at 9:40 PM
*NOTE: This Poppy Jira is cloned by Orchid CSP 5 Jira MODSOURCE-671* MODSOURCE-601 introduced a notion of 'version' in marc_indexers table to allow inserts of new rows without deletion (deletion is done as a separate process). Setting the initial version (zero) to all existing rows takes excess time during which DI (and other processes interacting with SRS) should be suspended. Allow DI and search of marc_indexers to function correctly when version is still null (column added, but values are not there yet), treat it as a zero.  * Search when no other version than null  * Insert of new values with version '1', when others are null * Something else?
Ann-Marie Breaux
made 13 changes
August 11, 2023 at 9:26 PM
Status
Open
In QA
Labels
data-import epam-folijet needs-releasenote-orchid needs-releasenote-poppy non-testable orchid-patch-approved
data-import epam-folijet needs-releasenote-orchid needs-releasenote-poppy non-testable
Description
*NOTE: This Poppy Jira is cloned by Orchid CSP 5 Jira MODSOURCE-671* MODSOURCE-601 introduced a notion of 'version' in marc_indexers table to allow inserts of new rows without deletion (deletion is done as a separate process). Setting the initial version (zero) to all existing rows takes excess time during which DI (and other processes interacting with SRS) should be suspended. Allow DI and search of marc_indexers to function correctly when version is still null (column added, but values are not there yet), treat it as a zero.  * Search when no other version than null  * Insert of new values with version '1', when others are null * Something else? *ORCHID Critical service patch details* # *Describe issue impact on business:* Required to be able to backport the improvements described in MODSOURCE-601/MODSOURCE-654 to Orchid. This change allows DI marc-to-marc matching and records search to work correctly until migration scripts which are required by MODSOURCE-601MODSOURCE-654 are completed, in order to avoid downtime during the those scripts execution. # *What institutions are affected? (field “Affected Institutions” in Jira to be populated) -* All # *What is the workaround if exists?* No user workaround # *What areas will be impacted by fix (i.e. what areas need to be retested)* Data import Smoke and Critical path tests # *Brief explanation of technical implementation and the level of effort (in workdays) and technical risk (low/medium/high).* ** Work is complete and the level of effort was medium.  ** Approach *** add alternative/fallback query that performs a search without indexers version usage to DAO method that provides marc-to-marc matching and to the method aimed for retrieving marc identifiers by search query. This alternative query should be executed when the search results of the current queries are empty and newly introduced parameter srs.record.matching.fallback-query.enable = true. *** fix PgException handling in AbstractUpdateModifyEventHandler to prevent import job from being stuck if PgException is not related to matchedId-generation uniqueness constraint violation. *** add tests ** Risk to backport: Minimal; [~accountid:712020:8112ce6a-772f-4888-afd3-b243105d06aa] will also review with [~accountid:70121:329e0f11-cc86-459e-a311-80d4eb134a7f] # *Brief explanation of testing required and level of effort (in workdays). Provide test plan agreed with by QA Manager and PO.* Automated test cases already exist and level of effort is 1 hour # *What is the roll back plan in case the fix does not work?* Revert to previous version
Ann-Marie Breaux
created the IssueAugust 11, 2023 at 9:21 PM
TestRail: Cases
TestRail: Runs

Flag notifications