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,