Opened 17 years ago

Last modified 13 years ago

#353 new Enhancement

Preventing orphaned hosts derailing the CPID

Reported by: Didactylos Owned by: 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 (2)

comment:1 Changed 17 years ago by Nicolas

Keywords: CPID added

comment:2 Changed 15 years ago by romw

Owner: changed from Bruce Allen to davea
Note: See TracTickets for help on using tickets.