From 5f842e6eb692b9551b813d600e37bb4431b21d2b Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 8 Jan 2004 00:51:13 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=2858 --- checkin_notes | 1 + sched/handle_request.C | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/checkin_notes b/checkin_notes index 7bf5671f58..b6b64da888 100755 --- a/checkin_notes +++ b/checkin_notes @@ -9020,6 +9020,7 @@ David 7 Jan 2004 - scheduling server: if get invalid hostid, look up user before creating new host (otherwise will create a host record with userid 0) + - if get a result that's already been received, ignore it sched/ handle_request.C diff --git a/sched/handle_request.C b/sched/handle_request.C index ace9ac345f..a508b8a1b5 100644 --- a/sched/handle_request.C +++ b/sched/handle_request.C @@ -531,6 +531,15 @@ int handle_results( continue; } + if (result.received_time) { + log_messages.printf( + SchedMessages::CRITICAL, + "[HOST#%d] [RESULT#%d %s] got result twice\n", + host.id, result.id, result.name + ); + continue; + } + if (result.hostid != sreq.hostid) { log_messages.printf( SchedMessages::CRITICAL,