properly deal with clients that talked to another campaign server before

A campaign server now tells all clients a unique run ID (the UNIX timestamp
when it was started).  This allows us to ignore results from "old" clients
that talked to another server before, and to tell them to die.

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1677 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
hsc
2012-09-23 17:28:07 +00:00
parent 8c7f8f62d0
commit 7513dacad1
5 changed files with 30 additions and 2 deletions

View File

@ -12,5 +12,8 @@ message FailControlMessage {
required Command command = 1;
optional uint32 workloadID = 2;
required uint64 build_id = 3; // identifying the client/server build (e.g., build time in unixtime format)
// identifying the client/server build (e.g., build time in unixtime format)
required uint64 build_id = 3;
// campaign server run ID: prevents old clients talking to new servers
optional uint64 run_id = 4;
}