Project

Profile

Help

Task #2534

closed

Add heartbeat recording for pulp_streamer

Added by bmbouter about 7 years ago. Updated almost 5 years ago.

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

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

It would be useful if pulp_streamer recorded heartbeats like the rest of the Pulp components. To be consistent with the timings introduced in 2.12, a heartbeat should be recorded every 5 seconds.

I think it should work like the other 'Worker' records and record the name like '' and a timestamp which is overwritten every 5 seconds and stored in UTC.

It should not rely on a separate process or single point of failure for the heartbeats to be recorded. We've moved away from that design due to process-to-process dependencies which we architecturally want to avoid.


Related issues

Blocks Pulp - Story #2529: As a user, pulp-manage-db will not run if the pulp_streamer service is runningCLOSED - WONTFIX

Actions

Also available in: Atom PDF