- 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:
David Anderson 2012-03-14 07:08:05 +00:00
parent 5c8cdc3957
commit b155c668fc
2 changed files with 12 additions and 2 deletions

View File

@ -2607,3 +2607,10 @@ David 13 Mar 2012
sched/
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

View File

@ -330,11 +330,14 @@ int handle_wu(
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;
// 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.app_version_id = 0;
}