Project

Profile

Help

Task #7778

closed

Ensure a migration can be interrupted within reasonable time at any stage

Added by ttereshc about 4 years ago. Updated over 3 years ago.

Status:
CLOSED - COMPLETE
Priority:
High
Assignee:
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Katello
Sprint:
Sprint 92
Quarter:

Description

Motivation

Users who have pulp 2 and pulp 3 on the same machine need to have a way to control when migration is running. The migration plugin inevitably provides certain load on the system and uses resources. Users might want to choose windows when they run a migration. E.g. Run every Saturday for 4 hours at most.

If the system is large, it can take hours to migrate it, users need a way to cancel the task and free all the related resource within a reasonable timeframe.

Potential issues

When there is a very slow db query and the task which triggered that query is cancelled, how quickly the db query will be aborted as well?

Also available in: Atom PDF