Project

Profile

Help

Story #2519

closed

Enable workers to record their own heartbeat records to the database

Added by dkliban@redhat.com over 7 years ago. Updated about 5 years ago.

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

100%

Estimated time:
Platform Release:
2.13.0
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Pulp 2
Sprint:
Sprint 14
Quarter:

Description

Problem: pulp_celerybeat writes hearbeat records to the database

Solution: All workers write their own records to the db instead of sending them through the message bus.

Without this the pulp-manage-db waiting for workers could continue mistakenly if pulp-manage-db was killed even though workers are still running. This is because their timestamps would not be updated even though they are still heartbeating.


Related issues

Blocks Pulp - Issue #2496: Killing pulp_workers, pulp_celerybeat, and pulp_resource_manager causes the status API still shows them as runningCLOSED - CURRENTRELEASEdkliban@redhat.comActions

Also available in: Atom PDF