Ticket #353 (new Enhancement)

Opened 2 years ago

Last modified 3 months ago

Preventing orphaned hosts derailing the CPID

Reported by: Didactylos Assigned to: davea
Priority: Minor Milestone: Undetermined
Component: Server - Scheduler Version:
Keywords: CPID Cc:

Description

It's a surprisingly common situation: an existing cruncher decides to add a new project, and adds several new hosts dedicated to this new project. Of course, the CPID will only update for the new project if he attaches a host to one of his original projects.

But if he leaves any of his hosts orphaned, then every time they contact the scheduler, they reset the CPID to the old value. The CPID will cycle endlessly, giving unpredictable results in the exported stats.

I think that once a project has the oldest CPID, it should keep that CPID, ignoring later ones and sending the oldest CPID to those hosts that have a later CPID.

This will require a few changes: a CPID timestamp field in the database, which must be passed in the scheduler request and response, so that the server can compare the age of the provided CPID against the age of the stored CPID.

Components: Scheduler, Database, Daemon.

Change History

07/23/07 10:37:44 changed by Nicolas

  • keywords set to CPID.

02/25/09 16:55:20 changed by romw

  • owner changed from ballen to davea.

If this page is incomplete or incorrect, please edit it or add it to the wiki to-do list. To do this, you must be logged in; click Login or Register above.