mirror of https://github.com/BOINC/boinc.git
- python assimilator fix
svn path=/trunk/boinc/; revision=18431
This commit is contained in:
parent
dfaf0023d4
commit
7e74f6971c
|
@ -5727,3 +5727,9 @@ David 16 June 2009
|
|||
Makefile.am
|
||||
lib/
|
||||
Makefile.am
|
||||
|
||||
David 16 June 2009
|
||||
- python assimilator fix
|
||||
|
||||
sched/
|
||||
assimilator.py
|
||||
|
|
|
@ -180,9 +180,13 @@ class Assimilator():
|
|||
if result == wu.canonical_result:
|
||||
canonical_result=result
|
||||
|
||||
if canonical_result == None:
|
||||
# something is wrong, flag an error
|
||||
if canonical_result == None and wu.error_mask == 0:
|
||||
# If no canonical result found and WU had no other errors,
|
||||
# something is wrong, e.g. result records got deleted prematurely.
|
||||
# This is probably unrecoverable, so mark the WU as having
|
||||
# an assimilation error and keep going.
|
||||
wu.error_mask = boinc_db.WU_ERROR_NO_CANONICAL_RESULT
|
||||
wu.commit()
|
||||
|
||||
# assimilate handler
|
||||
self.assimilate_handler(wu, results, canonical_result)
|
||||
|
|
Loading…
Reference in New Issue