Project

Profile

Help

Backport #9462

closed

Backport #8931 "In the new tasking system, missing workers need to be cleaned up in the database" to 3.14.z

Added by dalley over 2 years ago. Updated over 2 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Triaged:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

The worker cleanup code must only remove missing workers from the database, but it can no longer run in the resource-manager. It should probably run at worker startup or periodically in each worker.


Related issues

Copied from Pulp - Story #8931: In the new tasking system, missing workers need to be cleaned up in the databaseCLOSED - CURRENTRELEASEmdellweg

Actions
Actions #1

Updated by dalley over 2 years ago

  • Copied from Story #8931: In the new tasking system, missing workers need to be cleaned up in the database added
Actions #2

Updated by dalley over 2 years ago

  • Status changed from NEW to POST

Added by dalley over 2 years ago

Revision 7d0cbdd8 | View on GitHub

Added worker_cleanup to the tasking system

All workers that are considered offline will be removed from the database periodically.

backports #8931

fixes #9462

(cherry picked from commit 5bbf9596f2d265bac68c764631f26feadc8e992c)

Actions #3

Updated by dalley over 2 years ago

  • Status changed from POST to MODIFIED
Actions #4

Updated by pulpbot over 2 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF