mirror of https://github.com/BOINC/boinc.git
- transitioner: don't clear a WU's HR and HAV class if there are
timed-out instances; they could still be returned. svn path=/trunk/boinc/; revision=25420
This commit is contained in:
parent
5c8cdc3957
commit
b155c668fc
|
@ -2607,3 +2607,10 @@ David 13 Mar 2012
|
||||||
|
|
||||||
sched/
|
sched/
|
||||||
sched_send.cpp,h
|
sched_send.cpp,h
|
||||||
|
|
||||||
|
David 13 Mar 2012
|
||||||
|
- transitioner: don't clear a WU's HR and HAV class if there are
|
||||||
|
timed-out instances; they could still be returned.
|
||||||
|
|
||||||
|
sched/
|
||||||
|
transitioner.cpp
|
||||||
|
|
|
@ -330,11 +330,14 @@ int handle_wu(
|
||||||
wu_item.error_mask |= WU_ERROR_COULDNT_SEND_RESULT;
|
wu_item.error_mask |= WU_ERROR_COULDNT_SEND_RESULT;
|
||||||
}
|
}
|
||||||
|
|
||||||
// if WU has results with errors and no success yet,
|
// if WU has results with errors and there are no results that are
|
||||||
|
// - successful
|
||||||
|
// - in progress
|
||||||
|
// - timed out (but could still be returned)
|
||||||
// reset homogeneous redundancy class to give other platforms a try;
|
// reset homogeneous redundancy class to give other platforms a try;
|
||||||
// also reset app version ID if using HAV
|
// also reset app version ID if using HAV
|
||||||
//
|
//
|
||||||
if (nerrors && !(nsuccess || ninprogress)) {
|
if (nerrors && !(nsuccess || ninprogress || nno_reply)) {
|
||||||
wu_item.hr_class = 0;
|
wu_item.hr_class = 0;
|
||||||
wu_item.app_version_id = 0;
|
wu_item.app_version_id = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue