Network failure with URL source plugin = broken migration

Created on 29 August 2024, 7 months ago
Updated 12 September 2024, 6 months ago

Problem/Motivation

We have a project with a big migration (group of migrations) that runs nightly. The migration reads from a REST endpoint using the url plugin.

The issue we have is that sometime one of the requests to the API would timeout. This results in the migration failing and getting stuck. There's no obvious way to just resume the migration, meaning that the whole migration needs to restart.

Steps to reproduce

N/A

Proposed resolution

Options:
- It would be good if in its simplest forms, the url plugin would just retry the endpoint a few times before giving up. Then if the API is just having a hiccup and recovers from it, then the migration can carry on.
- Maybe the ability to resume a failed migration? Although, I appreciate this might fall outside the scope of this module.
- Do some kind of warming. Load all URLs and save them locally before hand, and then the migration itself would just read from the local storage. Again, this might be outside the scope of this module, but I'm not sure... any thoughts on this?

Remaining tasks

1. Decide approach
2. Implement approach

User interface changes

N/A

API changes

N/A

Data model changes

N/A

✨ Feature request
Status

Active

Version

6.0

Component

Plugins

Created by

πŸ‡¬πŸ‡§United Kingdom khaled.zaidan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024