Support parallel marc migrations for different tenants

Description

Overview

Currently there is a “single thread” pool for operation chunks preparation/processing and configurable “multi thread“ pool for chunks. This means we can create multiple migration operations for multiple tenants but they will be processed sequentially one by one. While in a scope of operation - chunks will be processed in parallel using “multi thread“ pool.

Operation level thread pool was limited to 1 thread to avoid folio execution context mixing which is caused if thread limit increased to operation level pool.

Contexts mix observed in logs, f.e. we see one tenant in log message header and another tenant in database schema name of log message body. So datasource got wrong tenant somewhy

Requirements/Scope:

  1. Come up with a solution to allow multiple migration operations for different tenants to run in parallel without contexts being mixed

Approach - TBD

See

Additional point: save files on aws in the end of each chunk processing

Environment

None

Potential Workaround

None

Checklist

hide

Activity

Show:

Viacheslav Kolesnyk July 9, 2024 at 9:41 AM

Hey , nothing has been implemented for this story yet, PRs are shown just because they mention this story. And there’s is actually only one PR, Jira duplicates them somewhy

Khalilah Gambrell July 8, 2024 at 12:09 PM

Hey - this issue has two merged PRs but status is Open. If there is additional work needed, then this story must move to Sunflower.

Details

Assignee

Reporter

Priority

Story Points

Development Team

Spitfire

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created March 27, 2024 at 12:46 PM
Updated December 20, 2024 at 8:16 PM
TestRail: Cases
TestRail: Runs